aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2010-11-18 15:57:12 +0000
committerAnders Broman <anders.broman@ericsson.com>2010-11-18 15:57:12 +0000
commit023fb81cbc304359594cf631a0ff950ec0fb7d89 (patch)
treec8293777075e60daf4e19f46fdf4c67a1bdb4f29 /gtk
parent1bd67cac50a23542c72bc3d07549de3146134f4e (diff)
[UImanager]Add missing GO to frame, and copy paste errors.
svn path=/trunk/; revision=34945
Diffstat (limited to 'gtk')
-rw-r--r--gtk/menus.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/gtk/menus.c b/gtk/menus.c
index f01573b8c3..6408d5696d 100644
--- a/gtk/menus.c
+++ b/gtk/menus.c
@@ -1152,6 +1152,7 @@ static const char *ui_desc_menubar =
" <menu name= 'GoMenu' action='/Go'>\n"
" <menuitem name='Back' action='/Go/Back'/>\n"
" <menuitem name='Forward' action='/Go/Forward'/>\n"
+" <menuitem name='Goto' action='/Go/Goto'/>\n"
" <menuitem name='GotoCorrespondingPacket' action='/Go/GotoCorrespondingPacket'/>\n"
" <separator/>\n"
" <menuitem name='PreviousPacket' action='/Go/PreviousPacket'/>\n"
@@ -1483,8 +1484,19 @@ static const GtkActionEntry main_menu_bar_entries[] = {
{ "/Go/Back", GTK_STOCK_GO_BACK, "_Back", "<alt>Left", NULL, G_CALLBACK(history_back_cb) },
- { "/Go/Forward", GTK_STOCK_JUMP_TO, "_Forward", "<control>G", NULL, G_CALLBACK(goto_frame_cb) },
+ { "/Go/Forward", GTK_STOCK_GO_FORWARD, "_Forward", "<alt>Right", NULL, G_CALLBACK(history_forward_cb) },
+ { "/Go/Goto", GTK_STOCK_JUMP_TO, "_Go to Packet...", "<control>G", NULL, G_CALLBACK(goto_frame_cb) },
{ "/Go/GotoCorrespondingPacket", NULL, "Go to _Corresponding Packet", NULL, NULL, G_CALLBACK(goto_framenum_cb) },
+ /*
+ {"/Go/_Back", "<alt>Left",
+ GTK_MENU_FUNC(history_back_cb), 0, "<StockItem>", GTK_STOCK_GO_BACK,},
+ {"/Go/_Forward", "<alt>Right",
+ GTK_MENU_FUNC(history_forward_cb), 0, "<StockItem>", GTK_STOCK_GO_FORWARD,},
+ {"/Go/_Go to Packet...", "<control>G",
+ GTK_MENU_FUNC(goto_frame_cb), 0, "<StockItem>", GTK_STOCK_JUMP_TO,},
+ {"/Go/Go to _Corresponding Packet", NULL, GTK_MENU_FUNC(goto_framenum_cb),
+ 0, NULL, NULL,},
+*/
{ "/Go/PreviousPacket", GTK_STOCK_GO_UP, "Previous Packet", "<control>Up", NULL, G_CALLBACK(goto_previous_frame_cb) },
{ "/Go/NextPacket", GTK_STOCK_GO_DOWN, "Next Packet", "<control>Down", NULL, G_CALLBACK(goto_next_frame_cb) },