forked from osmocom/wireshark
Try to fix previous commit.
- menu.h commited by mistake - new_packet_list.c missing svn path=/trunk/; revision=35719
This commit is contained in:
parent
b7527dd063
commit
c9b96a9bfb
|
@ -30,7 +30,6 @@ extern "C" {
|
|||
#endif /* __cplusplus */
|
||||
|
||||
/*#define MAIN_MENU_USE_UIMANAGER 1 */
|
||||
#define MAIN_MENU_USE_UIMANAGER 1
|
||||
|
||||
/* Add a new recent capture filename to the "Recent Files" submenu
|
||||
(duplicates will be ignored) */
|
||||
|
|
|
@ -1216,8 +1216,13 @@ new_packet_list_select_cb(GtkTreeView *tree_view, gpointer data _U_)
|
|||
gtk_notebook_remove_page(GTK_NOTEBOOK(byte_nb_ptr_gbl), 0);
|
||||
|
||||
cf_select_packet(&cfile, row);
|
||||
gtk_widget_grab_focus(packetlist->view);
|
||||
|
||||
/* If searching the tree, set the focus there; otherwise, focus on the packet list */
|
||||
if (cfile.search_in_progress && (cfile.decode_data || cfile.decode_data)) {
|
||||
gtk_widget_grab_focus(tree_view_gbl);
|
||||
} else {
|
||||
gtk_widget_grab_focus(packetlist->view);
|
||||
}
|
||||
|
||||
/* Add newly selected frame to packet history (breadcrumbs) */
|
||||
packet_history_add(row);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue