[gnome-settings-daemon] media-keys: Fix keyboard brightness



commit 02597296b46037e158fcc6c56e05d0f668763f8f
Author: Alex Murray <murray alex gmail com>
Date:   Sat Sep 10 09:56:37 2011 +0930

    media-keys: Fix keyboard brightness
    
    A typo made the plugin always lower the keyboard
    brightness.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=658689

 plugins/media-keys/gsd-media-keys-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/media-keys/gsd-media-keys-manager.c b/plugins/media-keys/gsd-media-keys-manager.c
index 3a5c3cb..99796ec 100644
--- a/plugins/media-keys/gsd-media-keys-manager.c
+++ b/plugins/media-keys/gsd-media-keys-manager.c
@@ -1349,7 +1349,7 @@ do_keyboard_brightness_action (GsdMediaKeysManager *manager,
 
         /* call into the power plugin */
         g_dbus_proxy_call (manager->priv->power_keyboard_proxy,
-                           type == SCREEN_BRIGHTNESS_UP_KEY ? "StepUp" : "StepDown",
+                           type == KEYBOARD_BRIGHTNESS_UP_KEY ? "StepUp" : "StepDown",
                            NULL,
                            G_DBUS_CALL_FLAGS_NONE,
                            -1,



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