rpms/control-center/F-12 0001-Fix-all-the-keybindings-showing-up-when-using-compiz.patch, NONE, 1.1 control-center.spec, 1.502, 1.503
Bastien Nocera
hadess at fedoraproject.org
Thu Oct 29 12:45:25 UTC 2009
Author: hadess
Update of /cvs/pkgs/rpms/control-center/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15349
Modified Files:
control-center.spec
Added Files:
0001-Fix-all-the-keybindings-showing-up-when-using-compiz.patch
Log Message:
* Thu Oct 29 2009 Bastien Nocera <bnocera at redhat.com> 2.28.1-4
- Fix metacity keybindings showing up under compiz
0001-Fix-all-the-keybindings-showing-up-when-using-compiz.patch:
wm-common.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
--- NEW FILE 0001-Fix-all-the-keybindings-showing-up-when-using-compiz.patch ---
>From 11c5d4f3391400987c8fa41ef6e67458c1c29260 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess at hadess.net>
Date: Thu, 29 Oct 2009 12:18:37 +0000
Subject: [PATCH] Fix all the keybindings showing up when using compiz
The wm_common_get_current_keybindings() implementation
was broken.
https://bugzilla.gnome.org/show_bug.cgi?id=600021
---
capplets/common/wm-common.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/capplets/common/wm-common.c b/capplets/common/wm-common.c
index ef38489..d2ce82a 100644
--- a/capplets/common/wm-common.c
+++ b/capplets/common/wm-common.c
@@ -27,7 +27,7 @@ wm_common_get_window_manager_property (Atom atom)
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 @@ wm_common_get_window_manager_property (Atom atom)
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 @@ wm_common_get_current_keybindings (void)
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 : g_strdup (WM_COMMON_UNKNOWN);
results = g_strdupv (to_copy);
g_free (wm_name);
--
1.6.5.1
Index: control-center.spec
===================================================================
RCS file: /cvs/pkgs/rpms/control-center/F-12/control-center.spec,v
retrieving revision 1.502
retrieving revision 1.503
diff -u -p -r1.502 -r1.503
--- control-center.spec 26 Oct 2009 22:42:57 -0000 1.502
+++ control-center.spec 29 Oct 2009 12:45:25 -0000 1.503
@@ -24,7 +24,7 @@
Summary: Utilities to configure the GNOME desktop
Name: control-center
Version: 2.28.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Epoch: 1
License: GPLv2+ and GFDL
Group: User Interface/Desktops
@@ -46,6 +46,9 @@ Patch22: slab-icon-names.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=555591
Patch30: default-layout-toggle.patch
+# https://bugzilla.gnome.org/show_bug.cgi?id=600021
+Patch31: 0001-Fix-all-the-keybindings-showing-up-when-using-compiz.patch
+
# http://bugzilla.gnome.org/show_bug.cgi?id=588729
Patch45: mnemonic.patch
@@ -404,6 +407,9 @@ fi
%changelog
+* Thu Oct 29 2009 Bastien Nocera <bnocera at redhat.com> 2.28.1-4
+- Fix metacity keybindings showing up under compiz
+
* Mon Oct 26 2009 Matthias Clasen <mclasen at redhat.com> 2.28.1-3
- Change 'Best shapes' to mean grayscale+slight
More information about the scm-commits
mailing list