[gnome-control-center] [keybindings] Show shortcuts for the active window manager
- From: Jens Granseuer <jensg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-control-center] [keybindings] Show shortcuts for the active window manager
- Date: Wed, 4 Nov 2009 17:53:53 +0000 (UTC)
commit 7c82b5b5cc89c0934f13e66175f3881b8f5528f4
Author: Wang Xin <jedy wang sun com>
Date: Wed Nov 4 18:53:37 2009 +0100
[keybindings] Show shortcuts for the active window manager
Actually display the bindings for the running window manager instead
of all others (bug #600531).
capplets/keybindings/gnome-keybinding-properties.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/capplets/keybindings/gnome-keybinding-properties.c b/capplets/keybindings/gnome-keybinding-properties.c
index 42112d0..d383def 100644
--- a/capplets/keybindings/gnome-keybinding-properties.c
+++ b/capplets/keybindings/gnome-keybinding-properties.c
@@ -868,7 +868,7 @@ append_keys_to_tree_from_file (GtkBuilder *builder,
/* If there's no keys to add, or the settings apply to a window manager
* that's not the one we're running */
if (keylist->entries->len == 0
- || (keylist->wm_name != NULL && strv_contains (wm_keybindings, keylist->wm_name))
+ || (keylist->wm_name != NULL && !strv_contains (wm_keybindings, keylist->wm_name))
|| keylist->name == NULL)
{
g_free (keylist->name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]