rpms/control-center/F-12 no-duplicate-keybindings-dammit.patch, NONE, 1.1 control-center.spec, 1.508, 1.509

Matthias Clasen mclasen at fedoraproject.org
Wed Dec 9 02:42:21 UTC 2009


Author: mclasen

Update of /cvs/pkgs/rpms/control-center/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9998

Modified Files:
	control-center.spec 
Added Files:
	no-duplicate-keybindings-dammit.patch 
Log Message:
fix duplicate keybindings


no-duplicate-keybindings-dammit.patch:
 wm-common.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- NEW FILE no-duplicate-keybindings-dammit.patch ---
--- gnome-control-center-2.28.1/capplets/common/wm-common.c	2009-09-21 06:44:55.000000000 -0400
+++ hacked/capplets/common/wm-common.c	2009-12-08 21:31:52.318541572 -0500
@@ -27,7 +27,7 @@
   guchar *val;
 
   if (wm_window == None)
-    return g_strdup (WM_COMMON_UNKNOWN);
+    return NULL;
 
   utf8_string = XInternAtom (GDK_DISPLAY (), "UTF8_STRING", False);
 
@@ -46,7 +46,7 @@
       type != utf8_string || format != 8 || nitems == 0 ||
       !g_utf8_validate (val, nitems, NULL))
     {
-      retval = g_strdup (WM_COMMON_UNKNOWN);
+      retval = NULL;
     }
   else
     {
@@ -93,7 +93,7 @@
       char *wm_name = wm_common_get_window_manager_property (wm_atom);
       char *to_copy[] = { NULL, NULL };
 
-      to_copy[0] = wm_name;
+      to_copy[0] = wm_name ? wm_name : WM_COMMON_UNKNOWN;
 
       results = g_strdupv (to_copy);
       g_free (wm_name);


Index: control-center.spec
===================================================================
RCS file: /cvs/pkgs/rpms/control-center/F-12/control-center.spec,v
retrieving revision 1.508
retrieving revision 1.509
diff -u -p -r1.508 -r1.509
--- control-center.spec	7 Dec 2009 18:40:50 -0000	1.508
+++ control-center.spec	9 Dec 2009 02:42:21 -0000	1.509
@@ -83,6 +83,9 @@ Patch57: monitor-aspect.patch
 # https://bugzilla.gnome.org/show_bug.cgi?id=492974
 Patch60: override-redirect.patch
 
+# https://bugzilla.gnome.org/show_bug.cgi?id=604130
+Patch62: no-duplicate-keybindings-dammit.patch
+
 # call the Fedora/RHEL graphical passwd changing apps
 Patch95: gnome-control-center-2.25.2-passwd.patch
 Patch96: gnome-control-center-2.25.2-gecos.patch
@@ -229,6 +232,7 @@ for the GNOME desktop.
 %patch56 -p1 -b .best-shapes
 %patch57 -p1 -b .monitor-aspect
 %patch60 -p1 -b .override-redirect
+%patch62 -p1 -b .no-duplicate-keybindings
 
 # vendor configuration patches
 %patch95 -p1 -b .passwd
@@ -420,6 +424,9 @@ fi
 
 
 %changelog
+* Tue Dec  8 2009 Matthias Clasen <mclasen at redhat.com> 2.28.1-10
+- Avoid duplicate entries in the keybinding preferences (#542401)
+
 * Mon Dec  7 2009 Matthias Clasen <mclasen at redhat.com> 2.28.1-9
 - Improve typing break locking for multiple monitors
 




More information about the fedora-extras-commits mailing list