[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
Mon Oct 24 04:00:40 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 #14 from fujiwara <tfujiwar at redhat.com> 2011-10-24 00:00:39 EDT ---
(In reply to comment #11)
> hello. yes, already:
> Package ibus-anthy-1.2.6-3.fc15.i686 already installed and latest version
> Nothing to do

Sorry, I forgot the warning issue.

(In reply to comment #9)
> Created attachment 528828 [details]
> ibus verbose command ran on a new user account (mh)

I checked the file and the warning is no harm.

(In reply to comment #6)
> Created attachment 528360 [details]
> modified panel.py for testing purpose
> 
> modified panel.py with your lines of code.

The file is not correct.
Check the comment #2.

(In reply to comment #2)
> --- /usr/share/ibus/ui/gtk/panel.py.orig
> +++ /usr/share/ibus/ui/gtk/panel.py
> @@ -320,9 +320,11 @@ class Panel(ibus.PanelBase):
>                  self.__focus_ic.enable()
> 
>      def focus_in(self, ic):
> +        print "test1"
>          self.reset()
>          self.__focus_ic = ibus.InputContext(self.__bus, ic)
>          enabled = self.__focus_ic.is_enabled()
> +        print "test2"
> 
>          use_bridge_hotkey = self.__use_bridge_hotkey()
>          self.__set_default_layout_engine(use_bridge_hotkey)

This means to modify /usr/share/ibus/ui/gtk/panel.py and the modification is
around line 320th + 11.
The '+' mark is to add the line in the original panel.py.
I explained to add two lines; 'print "test1"' and 'print "test2"' above.
After you would modify the panel.py, you could confirm your change with diff
command:

# cp /usr/share/ibus/ui/gtk/panel.py /usr/share/ibus/ui/gtk/panel.py.orig
# vi /usr/share/ibus/ui/gtk/panel.py
# diff -urNp /usr/share/ibus/ui/gtk/panel.py.orig \
  /usr/share/ibus/ui/gtk/panel.py


(In reply to comment #2)
> % ps -ef | grep ibus/ui
> account 16077 16031  /usr/bin/python /usr/share/ibus/ui/gtk/main.py
> % kill 16077
> % env IBUS_PREFIX=/usr python /usr/share/ibus/ui/gtk/main.py

I explained how to run the ibus panel icon by manual here after you modify the
panel.py.

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