aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/indicator-power.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/indicator-power.c b/src/indicator-power.c
index aedb99b..03ee0d2 100644
--- a/src/indicator-power.c
+++ b/src/indicator-power.c
@@ -1,5 +1,6 @@
#include <gtk/gtk.h>
+#include <glib/gi18n.h>
#include "indicator-power.h"
typedef struct {
@@ -66,6 +67,14 @@ power_menu (void)
gtk_widget_show(item);
}
+ GtkWidget * sep = gtk_separator_menu_item_new();
+ gtk_menu_append(menu, sep);
+ gtk_widget_show(sep);
+
+ GtkWidget * prefs = gtk_menu_item_new_with_label(_("Power Settings..."));
+ gtk_menu_append(menu, prefs);
+ gtk_widget_show(prefs);
+
return GTK_WIDGET(menu);
}