aboutsummaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-03-02 20:43:35 -0600
committerCharles Kerr <charles.kerr@canonical.com>2015-03-02 20:43:35 -0600
commite33b4e73c4f96a1b77aedd8422dee7e05eba7f35 (patch)
tree07beba7c1d23dd51001f68e889e352bee304b161 /src/service.c
parentae9a41c6876dc103d369a3565f5a92f76f8f23d8 (diff)
downloadayatana-indicator-power-e33b4e73c4f96a1b77aedd8422dee7e05eba7f35.tar.gz
ayatana-indicator-power-e33b4e73c4f96a1b77aedd8422dee7e05eba7f35.tar.bz2
ayatana-indicator-power-e33b4e73c4f96a1b77aedd8422dee7e05eba7f35.zip
in the brightness slider, use the display-brightness-min and display-brightness-max icons.
Diffstat (limited to 'src/service.c')
-rw-r--r--src/service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service.c b/src/service.c
index fc07619..d6ccde4 100644
--- a/src/service.c
+++ b/src/service.c
@@ -536,8 +536,8 @@ create_brightness_menu_item(void)
g_menu_item_set_attribute(item, "x-canonical-type", "s", "com.canonical.unity.slider");
g_menu_item_set_attribute(item, "min-value", "d", 0.0);
g_menu_item_set_attribute(item, "max-value", "d", 1.0);
- g_menu_item_set_attribute(item, "min-icon", "s", "torch-off" );
- g_menu_item_set_attribute(item, "max-icon", "s", "torch-on" );
+ g_menu_item_set_attribute(item, "min-icon", "s", "display-brightness-min" );
+ g_menu_item_set_attribute(item, "max-icon", "s", "display-brightness-max" );
return item;
}