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

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


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

    - apply upstream fix for dialect (Bz 607132)

 1388_1387.diff          |   22 ++++++++++++++++++++++
 awn-extras-applets.spec |    9 +++++++--
 2 files changed, 29 insertions(+), 2 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 32e1b8d..57f8bb4 100644
--- a/awn-extras-applets.spec
+++ b/awn-extras-applets.spec
@@ -8,7 +8,7 @@
 
 Name:           awn-extras-applets
 Version:        0.4.0
-Release:        21%{?dist}
+Release:        22%{?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,11 +218,14 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Sep 13 2010 leigh scott <leigh123linux at googlemail.com> - 0.4.0-22
+- apply upstream fix for dialect (Bz 607132)
+
 * Thu Aug 05 2010 Leigh Scott <leigh123linux at googlemail.com> - 0.4.0-21
 - add requires alacarte (Bz 614700)
 
 * Thu Aug 05 2010 Leigh Scott <leigh123linux at googlemail.com> - 0.4.0-20
-- apply upstream fix for file-browser-launcher (Bz 604868)
+ file-browser-launcher (Bz 604868)
 
 * Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 0.4.0-19
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild


More information about the scm-commits mailing list