[gnome-control-center/gnome-2-28] [keybindings] Show shortcuts for the active window manager



commit 3c361bd281c953617df71b3270d7eb7697177e4a
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 6e36e34..85fff6b 100644
--- a/capplets/keybindings/gnome-keybinding-properties.c
+++ b/capplets/keybindings/gnome-keybinding-properties.c
@@ -872,7 +872,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]