Connect F7 and F8 for new_packet_list.
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 31 Aug 2009 19:31:04 +0000 (19:31 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 31 Aug 2009 19:31:04 +0000 (19:31 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29642 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/main.c

index e8cafc00d1e01cbf56b3df88b4b1ec7c7ec628b7..2389ecb6d7859089970e2f5e9bef9b79ed860d16 100644 (file)
@@ -3226,12 +3226,16 @@ static int
 top_level_key_pressed_cb(GtkWidget *w _U_, GdkEventKey *event, gpointer user_data _U_)
 {
     if (event->keyval == GDK_F8) {
-#ifndef NEW_PACKET_LIST
+#ifdef NEW_PACKET_LIST
+       new_packet_list_next();
+#else
        packet_list_next();
 #endif
        return TRUE;
     } else if (event->keyval == GDK_F7) {
-#ifndef NEW_PACKET_LIST
+#ifdef NEW_PACKET_LIST
+       new_packet_list_prev();
+#else
        packet_list_prev();
 #endif
        return TRUE;