diff options
author | Javier Jardón <javier.jardon@codethink.co.uk> | 2011-06-29 17:12:37 +0100 |
---|---|---|
committer | Javier Jardón <javier.jardon@codethink.co.uk> | 2011-06-29 17:12:37 +0100 |
commit | 5b5a98746946613462da51bbf1b7401c444f0433 (patch) | |
tree | a05bd9ac09baca071970237aaa95144d214933a4 /src/indicator-power.c | |
parent | d049d2fc573a417b559e11cc1bc83d121b7efe9a (diff) | |
download | ayatana-indicator-power-5b5a98746946613462da51bbf1b7401c444f0433.tar.gz ayatana-indicator-power-5b5a98746946613462da51bbf1b7401c444f0433.tar.bz2 ayatana-indicator-power-5b5a98746946613462da51bbf1b7401c444f0433.zip |
Make the check menu items look like a radio menu item.
Diffstat (limited to 'src/indicator-power.c')
-rw-r--r-- | src/indicator-power.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/indicator-power.c b/src/indicator-power.c index 299a1a8..f9c97d7 100644 --- a/src/indicator-power.c +++ b/src/indicator-power.c @@ -381,11 +381,13 @@ build_menu (IndicatorPower *self) /* options */ item = gtk_check_menu_item_new_with_label (_("Icon Only")); + g_object_set (item, "draw-as-radio", TRUE, NULL); g_signal_connect (G_OBJECT (item), "toggled", G_CALLBACK (option_toggled_cb), item); gtk_menu_shell_append (GTK_MENU_SHELL (priv->menu), item); item = gtk_check_menu_item_new_with_label (_("Time Remining")); + g_object_set (item, "draw-as-radio", TRUE, NULL); g_signal_connect (G_OBJECT (item), "toggled", G_CALLBACK (option_toggled_cb), item); gtk_menu_shell_append (GTK_MENU_SHELL (priv->menu), item); |