~charlesk/indicator-power/lp-1216030

« back to all changes in this revision

Viewing changes to src/service.c

  • Committer: Tarmac
  • Author(s): Charles Kerr
  • Date: 2013-07-24 15:09:49 UTC
  • mfrom: (181.1.1 trunk)
  • Revision ID: tarmac-20130724150949-v9nyy1ux0nu0r2wc
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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
704
704
 
705
705
  /* add the power-level action */
706
706
  a = g_simple_action_new_stateful ("battery-level", NULL, g_variant_new_uint32(0));
 
707
  g_simple_action_set_enabled (a, FALSE);
707
708
  g_simple_action_group_insert (p->actions, G_ACTION(a));
708
709
  p->battery_level_action = a;
709
710