[gnome-settings-daemon] power: Move brightness to its own section
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] power: Move brightness to its own section
- Date: Wed, 23 Jan 2013 22:27:51 +0000 (UTC)
commit 05beaf717e023b27d908210aaca75314ba5dcebf
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jan 23 22:46:38 2013 +0100
power: Move brightness to its own section
plugins/power/gsd-power-manager.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index ac14f0d..dba8d8b 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -174,14 +174,16 @@ struct GsdPowerManagerPrivate
gchar *previous_summary;
GIcon *previous_icon;
GPtrArray *devices_array;
- gint pre_dim_brightness; /* level, not percentage */
- gint pre_dpms_brightness;
UpDevice *device_composite;
GnomeRRScreen *rr_screen;
NotifyNotification *notification_ups_discharging;
NotifyNotification *notification_low;
gboolean battery_is_low; /* laptop battery low, or UPS discharging */
+ /* Brightness */
+ gint pre_dim_brightness; /* level, not percentage */
+ gint pre_dpms_brightness;
+
/* Keyboard */
GDBusProxy *upower_kdb_proxy;
gint kbd_brightness_now;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]