[Fedora-i18n-bugs] [Bug 744667] ibus 1.4 update: broke preferences "show language bar when active" on JP input

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 1 10:45:20 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=744667

fujiwara <tfujiwar at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
               Flag|                            |needinfo?(nomnex at gmail.com)

--- Comment #20 from fujiwara <tfujiwar at redhat.com> 2011-11-01 06:45:18 EDT ---
(In reply to comment #19)
> hello, I got it now. So no. There is no language bar GUI. I did the test again

Thanks for the test.
Could you also modify /usr/share/ibus/ui/gtk/languagebar.py by manual and run
the ibus panel by manual again?

# cp /usr/share/ibus/ui/gtk/languagebar.py
/usr/share/ibus/ui/gtk/languagebar.py.orig

--- /usr/share/ibus/ui/gtk/languagebar.py.orig 2011-10-12 18:27:37.982094448
+0900
+++ /usr/share/ibus/ui/gtk/languagebar.py 2011-11-01 19:37:21.500605674 +0900
@@ -219,6 +219,9 @@ class LanguageBar(gtk.Toolbar):

     def set_enabled(self, enabled):
         self.__enabled = enabled
+        print "test8 languagebar.set_enabled", self.__enabled
+        print "test8 languagebar.set_enabled", self.__has_focus
+        print "test8 languagebar.set_enabled", self.__show
         if self.__enabled:
             self.__about_button.show()
             self.__set_opacity(1.0)
@@ -324,6 +327,7 @@ class LanguageBar(gtk.Toolbar):
     def focus_in(self):
         self.__has_focus = True
         self.__im_menu.set_sensitive(True)
+        print "test6 languagebar.focus_in", self.__show, self.__enabled
         if (self.__show == 1 and self.__enabled) or self.__show == 2:
             self.show_all()
         else:
@@ -332,6 +336,7 @@ class LanguageBar(gtk.Toolbar):
     def focus_out(self):
         self.__has_focus = False
         self.__im_menu.set_sensitive(False)
+        print "test7 languagebar.focus_out", self.__show
         if self.__show == 2:
             self.show_all()
         else:


I'd expect the following message is shown when IME is enabled:
test4
test5 1
test8 languagebar.set_enabled 1
test8 languagebar.set_enabled True
test8 languagebar.set_enabled 1

I'd expect the following message is shown when IME is disabled:
test4
test5 0
test8 languagebar.set_enabled 0
test8 languagebar.set_enabled True
test8 languagebar.set_enabled 1

Thanks.

-- 
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