[awn-extras-applets/f13/master] - apply upstream fix for dialect (Bz 607132)

leigh123linux leigh123linux at fedoraproject.org
Mon Sep 13 16:31:16 UTC 2010


commit a23823c9b8ac0a9a5725b15c18b00de23f036d90
Author: leigh scott <leigh123linux at googlemail.com>
Date:   Mon Sep 13 17:31:08 2010 +0100

    - apply upstream fix for dialect (Bz 607132)

 1388_1387.diff          |   22 ++++++++++++++++++++++
 awn-extras-applets.spec |    7 ++++++-
 2 files changed, 28 insertions(+), 1 deletions(-)
---
diff --git a/1388_1387.diff b/1388_1387.diff
new file mode 100644
index 0000000..91d81a6
--- /dev/null
+++ b/1388_1387.diff
@@ -0,0 +1,22 @@
+=== modified file 'applets/maintained/dialect/dialect.py'
+--- applets/maintained/dialect/dialect.py	2010-09-10 10:15:59 +0000
++++ applets/maintained/dialect/dialect.py	2010-09-13 15:53:23 +0000
+@@ -175,7 +175,7 @@
+                 self.set_layout(self.engine.get_next_group())
+             else:
+                 self.set_layout(self.engine.get_prev_group())
+-            self.engine.stop_listen()
++            self.engine.stop_listen(XKLL_TRACK_KEYBOARD_STATE)
+ 
+     # Load GTK widgets
+     def gtk_init(self):
+@@ -357,7 +357,7 @@
+     def get_layout(self, effect):
+         self.engine.start_listen(XKLL_TRACK_KEYBOARD_STATE)
+         layout = self.engine.get_current_state()['group']
+-        self.engine.stop_listen()
++        self.engine.stop_listen(XKLL_TRACK_KEYBOARD_STATE)
+         if layout != self.current:
+             self.current = layout
+             self.update_applet(self.layout[layout], self.variant[layout], effect)
+
diff --git a/awn-extras-applets.spec b/awn-extras-applets.spec
index d6fbcdc..6d7a577 100644
--- a/awn-extras-applets.spec
+++ b/awn-extras-applets.spec
@@ -8,7 +8,7 @@
 
 Name:           awn-extras-applets
 Version:        0.4.0
-Release:        19%{?dist}
+Release:        20%{?dist}
 Summary:        Extras applets for avant window navigator
 
 Group:          User Interface/Desktops
@@ -28,6 +28,7 @@ Patch6:         1302_1301.diff
 Patch7:         1303_1302.diff
 Patch8:         1318_1317.diff
 Patch20:        1331_1330.diff
+Patch21:        1388_1387.diff
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -107,6 +108,7 @@ awn-extras-applets includes extras applets of Avant Window Navigator (Awn).
 %patch7 -p0 -b .1303_1302
 %patch8 -p0 -b .1318_1317
 %patch20 -p0 -b .1331_1330
+%patch21 -p0 -b .1388_1387
 
 cp -p %{SOURCE1} applets/unmaintained/MiMenu/icons
 
@@ -216,6 +218,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Sep 13 2010 leigh scott <leigh123linux at googlemail.com> - 0.4.0-20
+- apply upstream fix for dialect (Bz 607132)
+
 * Thu Aug 05 2010 Leigh Scott <leigh123linux at googlemail.com> - 0.4.0-19
 - add requires alacarte (Bz 614700)
 


More information about the scm-commits mailing list