gsd-media-keys-manager.c.rej :

--- plugins/media-keys/gsd-media-keys-manager.c 2012-04-14 11:13:20.000000000 
+0400
+++ plugins/media-keys/gsd-media-keys-manager.c 2012-04-14 11:20:07.772836587 
+0400
@@ -142,6 +144,8 @@
         NotifyNotification *volume_notification;
         NotifyNotification *brightness_notification;
         NotifyNotification *kb_backlight_notification;
+
+        gboolean         brightness_in_hardware;
 };
 
 static void     gsd_media_keys_manager_class_init  (GsdMediaKeysManagerClass 
*klass);
@@ -1535,6 +1539,11 @@
         GsdMediaKeysManager *manager = data->manager;
         GError *error = NULL;
 
+        if(manager->priv->brightness_in_hardware) {
+               update_screen_cb(source_object, res, user_data);
+               return;
+        }
+
         GVariant *old_percentage = g_dbus_proxy_call_finish (G_DBUS_PROXY 
(source_object),
                                                              res, &error);
         if (old_percentage == NULL) {

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in Ubuntu.
https://bugs.launchpad.net/bugs/527157

Title:
  Brightness controls skips Levels.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-settings-daemon/+bug/527157/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to