diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-07-24 15:09:49 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-07-24 15:09:49 +0000 |
commit | e5d2ea570ab27ae5b344425c91e3939a3fbf43f3 (patch) | |
tree | 956377527670ac1ac0222836e148162cd3e7f7d5 | |
parent | 6cca65ea889b05a19633f1536ba154ad4b8160ab (diff) | |
parent | 9fd02d4bee0da17318cc665e212c97fec2679ce8 (diff) | |
download | ayatana-indicator-power-e5d2ea570ab27ae5b344425c91e3939a3fbf43f3.tar.gz ayatana-indicator-power-e5d2ea570ab27ae5b344425c91e3939a3fbf43f3.tar.bz2 ayatana-indicator-power-e5d2ea570ab27ae5b344425c91e3939a3fbf43f3.zip |
Set the battery-level action's 'sensitive' flag to false so that it will not be clickable, as per the phone spec.
Approved by PS Jenkins bot, Ted Gould.
-rw-r--r-- | src/service.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c index 4efe2dc..6c9a9c6 100644 --- a/src/service.c +++ b/src/service.c @@ -704,6 +704,7 @@ init_gactions (IndicatorPowerService * self) /* add the power-level action */ a = g_simple_action_new_stateful ("battery-level", NULL, g_variant_new_uint32(0)); + g_simple_action_set_enabled (a, FALSE); g_simple_action_group_insert (p->actions, G_ACTION(a)); p->battery_level_action = a; |