[gnome-settings-daemon] keyboard: Fix thinko



commit dd36ba76c9eb637ef12c8d620642662d76827a11
Author: Rui Matos <tiagomatos gmail com>
Date:   Thu Oct 25 13:41:01 2012 +0200

    keyboard: Fix thinko

 plugins/keyboard/gsd-keyboard-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/keyboard/gsd-keyboard-manager.c b/plugins/keyboard/gsd-keyboard-manager.c
index 9e434f7..8ec6666 100644
--- a/plugins/keyboard/gsd-keyboard-manager.c
+++ b/plugins/keyboard/gsd-keyboard-manager.c
@@ -1508,7 +1508,7 @@ start_keyboard_idle_cb (GsdKeyboardManager *manager)
         prop = g_dbus_proxy_get_cached_property (proxy, "session-name");
         if (prop) {
                 g_variant_get (prop, "&s", &name);
-                manager->priv->session_is_fallback = g_strcmp0 (name, "gnome") == 0;
+                manager->priv->session_is_fallback = g_strcmp0 (name, "gnome") != 0;
                 g_variant_unref (prop);
         } else {
                 manager->priv->session_is_fallback = FALSE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]