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) {
gsd-media- keys-manager. c.rej :
--- plugins/ media-keys/ gsd-media- keys-manager. c 2012-04-14 11:13:20.000000000 +0400 media-keys/ gsd-media- keys-manager. c 2012-04-14 11:20:07.772836587 +0400
NotifyNotific ation *volume_ notification;
NotifyNotific ation *brightness_ notification;
NotifyNotific ation *kb_backlight_ notification; in_hardware;
+++ plugins/
@@ -142,6 +144,8 @@
+
+ gboolean brightness_
};
static void gsd_media_ keys_manager_ class_init (GsdMediaKeysMa nagerClass *klass);
GsdMediaKeysM anager *manager = data->manager;
@@ -1535,6 +1539,11 @@
GError *error = NULL;
+ if(manager- >priv-> brightness_ in_hardware) { screen_ cb(source_ object, res, user_data); proxy_call_ finish (G_DBUS_PROXY (source_object),
res, &error);
+ update_
+ return;
+ }
+
GVariant *old_percentage = g_dbus_
if (old_percentage == NULL) {