aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJavier Jardón <javier.jardon@codethink.co.uk>2011-06-30 16:16:21 +0100
committerJavier Jardón <javier.jardon@codethink.co.uk>2011-06-30 16:16:21 +0100
commit07ef8e08fbaa3c8fe299f58a74d91614c344cae1 (patch)
tree8b2e66b3af5e0e9b2e57cbdee73115f757b5f856 /src
parent0f3b20e3e3f8228e35a5c148fe8ca75929f97f1b (diff)
downloadayatana-indicator-power-07ef8e08fbaa3c8fe299f58a74d91614c344cae1.tar.gz
ayatana-indicator-power-07ef8e08fbaa3c8fe299f58a74d91614c344cae1.tar.bz2
ayatana-indicator-power-07ef8e08fbaa3c8fe299f58a74d91614c344cae1.zip
Remove "Icon Only" option
We always show a icon by default
Diffstat (limited to 'src')
-rw-r--r--src/indicator-power.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/indicator-power.c b/src/indicator-power.c
index a8e2d65..4009292 100644
--- a/src/indicator-power.c
+++ b/src/indicator-power.c
@@ -387,13 +387,7 @@ 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"));
+ item = gtk_check_menu_item_new_with_label (_("Show Time Remining"));
g_object_set (item, "draw-as-radio", TRUE, NULL);
g_signal_connect (G_OBJECT (item), "toggled",
G_CALLBACK (option_toggled_cb), item);