[gnome-panel] panel: Reorder context menu item of menu bar
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] panel: Reorder context menu item of menu bar
- Date: Tue, 22 Feb 2011 22:21:12 +0000 (UTC)
commit eca306dfa831ef16fbc958fb2d50fccba7fed94b
Author: Vincent Untz <vuntz gnome org>
Date: Tue Feb 22 22:09:51 2011 +0100
panel: Reorder context menu item of menu bar
Help should be last.
Note that I consider this help item to be useful, compared to the
others.
gnome-panel/panel-menu-bar.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gnome-panel/panel-menu-bar.c b/gnome-panel/panel-menu-bar.c
index 1474240..1ea25e6 100644
--- a/gnome-panel/panel-menu-bar.c
+++ b/gnome-panel/panel-menu-bar.c
@@ -422,12 +422,6 @@ panel_menu_bar_load (PanelWidget *panel,
return;
}
- panel_applet_add_callback (menubar->priv->info,
- "help",
- GTK_STOCK_HELP,
- _("_Help"),
- NULL);
-
if (panel_is_program_in_path ("alacarte") ||
panel_is_program_in_path ("gmenu-simple-editor")) {
panel_applet_add_callback (menubar->priv->info,
@@ -437,6 +431,12 @@ panel_menu_bar_load (PanelWidget *panel,
NULL);
}
+ panel_applet_add_callback (menubar->priv->info,
+ "help",
+ GTK_STOCK_HELP,
+ _("_Help"),
+ NULL);
+
g_signal_connect_after (menubar, "focus-in-event",
G_CALLBACK (gtk_widget_queue_draw), menubar);
g_signal_connect_after (menubar, "focus-out-event",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]