aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/conversations_ipx.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-05-03 20:23:57 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-05-03 20:23:57 +0000
commitb569f052d92067d165e6d3eefd342574eb686f05 (patch)
tree189219d1a128d4cebb4bfb7f41e2fd3b0c113906 /gtk/conversations_ipx.c
parent8570de9708319bf89d4c034b66502e6072c728d3 (diff)
More GUIManager stuff.
svn path=/trunk/; revision=36981
Diffstat (limited to 'gtk/conversations_ipx.c')
-rw-r--r--gtk/conversations_ipx.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/gtk/conversations_ipx.c b/gtk/conversations_ipx.c
index 634bb7fda5..f003b7074d 100644
--- a/gtk/conversations_ipx.c
+++ b/gtk/conversations_ipx.c
@@ -42,6 +42,7 @@
#include "gtk/gui_stat_menu.h"
#include "gtk/conversations_table.h"
+#include "gtk/stock_icons.h"
static int
@@ -84,8 +85,25 @@ register_tap_listener_ipx_conversation(void)
{
register_stat_cmd_arg("conv,ipx", ipx_conversation_init,NULL);
+#ifdef MAIN_MENU_USE_UIMANAGER
+ register_stat_menu_item_stock(
+ REGISTER_STAT_GROUP_CONVERSATION_LIST, /* Group */
+ "/Menubar/StatisticsMenu/ConversationListMenu/List-item", /* GUI path */
+ "IPX", /* Name */
+ WIRESHARK_STOCK_CONVERSATIONS, /* stock_id */
+ "IPX", /* label */
+ NULL, /* accelerator */
+ NULL, /* tooltip */
+ G_CALLBACK(ipx_endpoints_cb), /* callback */
+ TRUE, /* enabled */
+ NULL, /* selected_packet_enabled */
+ NULL, /* selected_tree_row_enabled */
+ NULL); /* callback_data */
+
+#else
register_stat_menu_item("IPX", REGISTER_STAT_GROUP_CONVERSATION_LIST,
ipx_endpoints_cb, NULL, NULL, NULL);
+#endif
register_conversation_table(TRUE, "IPX", "ipx", NULL /*filter*/, ipx_conversation_packet);
}