[gnome-settings-daemon] power: properly emit org.gnome.SettingsDaemon.Power.Screen.Changed



commit e206a89894db925357a2ff196de168bd664cc131
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jan 5 17:44:45 2013 -0500

    power: properly emit org.gnome.SettingsDaemon.Power.Screen.Changed
    
    The signal was not broadcast, so gnome-control-center was not picking
    it up and did not update its brightness slider.

 plugins/power/gsd-power-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index 0cbc67f..f264913 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -2622,7 +2622,7 @@ backlight_emit_changed (GsdPowerManager *manager)
         if (manager->priv->connection == NULL)
                 return;
         ret = g_dbus_connection_emit_signal (manager->priv->connection,
-                                             GSD_DBUS_NAME,
+                                             NULL,
                                              GSD_POWER_DBUS_PATH,
                                              GSD_POWER_DBUS_INTERFACE_SCREEN,
                                              "Changed",



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