[ibus-hangul] Update to 1.4.1-3.

Daiki Ueno ueno at fedoraproject.org
Wed Jun 6 09:12:00 UTC 2012


commit 7f7cc327124dff2b156d2c9c37e5c1f08c4b8dd0
Author: Daiki Ueno <ueno at unixuser.org>
Date:   Wed Jun 6 14:34:09 2012 +0900

    Update to 1.4.1-3.

 ibus-hangul-setup-race-condition.patch |   21 +++++++++++++++++++++
 ibus-hangul.spec                       |    4 +++-
 2 files changed, 24 insertions(+), 1 deletions(-)
---
diff --git a/ibus-hangul-setup-race-condition.patch b/ibus-hangul-setup-race-condition.patch
new file mode 100644
index 0000000..7894e10
--- /dev/null
+++ b/ibus-hangul-setup-race-condition.patch
@@ -0,0 +1,21 @@
+Index: ibus-hangul-1.4.1/setup/main.py
+===================================================================
+--- ibus-hangul-1.4.1.orig/setup/main.py
++++ ibus-hangul-1.4.1/setup/main.py
+@@ -35,7 +35,6 @@ class Setup ():
+     def __init__ (self, bus):
+         self.__bus = bus
+         self.__config = self.__bus.get_config()
+-	self.__config.connect("value-changed", self.on_value_changed, None)
+ 
+ 	ui_file = os.path.join(os.path.dirname(__file__), "setup.ui")
+ 	self.__builder = Gtk.Builder()
+@@ -117,6 +116,8 @@ class Setup ():
+ 	ok_button = self.__builder.get_object("button_cancel")
+ 	ok_button.grab_focus()
+ 
++	self.__config.connect("value-changed", self.on_value_changed, None)
++
+     def run(self):
+ 	res = self.__window.run()
+ 	if (res == Gtk.ResponseType.OK):
diff --git a/ibus-hangul.spec b/ibus-hangul.spec
index 4d07996..bb8f86d 100644
--- a/ibus-hangul.spec
+++ b/ibus-hangul.spec
@@ -14,7 +14,7 @@
 
 Name:       ibus-hangul
 Version:    1.4.1
-Release:    2%{?dist}
+Release:    3%{?dist}
 Summary:    The Hangul engine for IBus input platform
 License:    GPLv2+
 Group:      System Environment/Libraries
@@ -25,6 +25,7 @@ Patch1:	    ibus-hangul-setup-gi.patch
 %if %have_bridge_hotkey
 Patch2:	    ibus-hangul-add-hangul-hotkey.patch
 %endif
+Patch3:	    ibus-hangul-setup-race-condition.patch
 
 BuildRequires:  gettext-devel
 BuildRequires:  intltool
@@ -53,6 +54,7 @@ libhangul.
 %patch2 -p1 -b .add-hangul-hotkey
 %endif
 
+%patch3 -p1 -b .setup-race-condition
 
 %build
 autoreconf


More information about the scm-commits mailing list