[Fedora-i18n-bugs] [Bug 746869] ibus cannot get the current keymap if the XKB has no group and no variant
bugzilla at redhat.com
bugzilla at redhat.com
Tue Oct 18 04:12:30 UTC 2011
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=746869
fujiwara <tfujiwar at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #1 from fujiwara <tfujiwar at redhat.com> 2011-10-18 00:12:30 EDT ---
--- ibus-1.4.0/ui/gtk/panel.py
+++ ibus-1.4.0/ui/gtk/panel.py
@@ -281,15 +281,16 @@ class Panel(ibus.PanelBase):
if i == 0:
layout = default_layout
model = default_model
- elif i < len(models):
+ elif models != None and i < len(models):
model = models[i]
if model == '':
model = None
model_desc = _("Default Layout")
if i == 0:
l = 0
- for j in range(0, len(models)):
- l = l + len(models[j])
+ if models != None:
+ for j in range(0, len(models)):
+ l = l + len(models[j])
if l != 0:
model_desc = model_desc + " (" + model + ")"
elif model != None:
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the i18n-bugs
mailing list