[Xfce4-commits] <xfce4-panel:master> Add separator between help and logout in window menu.

Nick Schermer noreply at xfce.org
Sun Jun 13 14:16:01 CEST 2010


Updating branch refs/heads/master
         to 937a23baf63a718af1fe41d714d8e7e6bd7136b3 (commit)
       from c6d5ba57471e9b092111eb1499569b871b92dfaf (commit)

commit 937a23baf63a718af1fe41d714d8e7e6bd7136b3
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Jun 13 14:14:21 2010 +0200

    Add separator between help and logout in window menu.

 panel/panel-window.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/panel/panel-window.c b/panel/panel-window.c
index ccaf2fc..5dc9532 100644
--- a/panel/panel-window.c
+++ b/panel/panel-window.c
@@ -2132,6 +2132,10 @@ panel_window_menu_popup (PanelWindow *window,
   gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
   gtk_widget_show (image);
 
+  item = gtk_separator_menu_item_new ();
+  gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
+  gtk_widget_show (item);
+
   /* help item */
   item = gtk_image_menu_item_new_from_stock (GTK_STOCK_HELP, NULL);
   g_signal_connect (G_OBJECT (item), "activate",



More information about the Xfce4-commits mailing list