diff options
author | Nick Dedekind <nicholas.dedekind@gmail.com> | 2013-10-30 17:46:44 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-10-30 17:46:44 +0000 |
commit | 1ca27d4598aff14d3b18172030fc87a7da77e264 (patch) | |
tree | c99d2644d74f85c9035b273ac216d0746270faff | |
parent | 1a9e81a4071d1bd137ca8135a993ad65a91e8ee9 (diff) | |
parent | cd42d9e312abcc41b45e87481a63033c5fddb828 (diff) | |
download | ayatana-indicator-power-1ca27d4598aff14d3b18172030fc87a7da77e264.tar.gz ayatana-indicator-power-1ca27d4598aff14d3b18172030fc87a7da77e264.tar.bz2 ayatana-indicator-power-1ca27d4598aff14d3b18172030fc87a7da77e264.zip |
Removed Label from brightness slider. Fixes: https://bugs.launchpad.net/bugs/1240756.
Approved by Charles Kerr, PS Jenkins bot.
-rw-r--r-- | src/service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.c b/src/service.c index c70723a..a0c7fd1 100644 --- a/src/service.c +++ b/src/service.c @@ -459,7 +459,7 @@ create_brightness_menuitem (IndicatorPowerService * self) get_brightness_range (self, &lo, &hi); - item = g_menu_item_new ("Brightness", "indicator.brightness"); + item = g_menu_item_new (NULL, "indicator.brightness"); g_menu_item_set_attribute (item, "x-canonical-type", "s", "com.canonical.unity.slider"); g_menu_item_set_attribute (item, "min-value", "d", brightness_to_percentage (self, lo)); g_menu_item_set_attribute (item, "max-value", "d", brightness_to_percentage (self, hi)); |