[phonemgr] ui: add a separator above the Quit menu item



commit 74289a88822b9b2c25cdae4ce6264645dd57efb4
Author: Daniele Forsi <dforsi src gnome org>
Date:   Tue Apr 24 11:46:52 2012 +0200

    ui: add a separator above the Quit menu item

 src/menu.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/menu.c b/src/menu.c
index 98905a0..debc4c6 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -111,6 +111,11 @@ construct_menu (MyApp *app)
 	gtk_widget_show (item);
 	gtk_menu_shell_append (GTK_MENU_SHELL(app->menu), item);
 
+	item = gtk_separator_menu_item_new ();
+
+	gtk_widget_show (item);
+	gtk_menu_shell_append (GTK_MENU_SHELL(app->menu), item);
+
 	item = gtk_image_menu_item_new_from_stock (GTK_STOCK_QUIT, NULL);
 	g_signal_connect (G_OBJECT(item), "activate",
 			  G_CALLBACK (quit_activated), (gpointer) app);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]