added some comments
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 2 Oct 2004 11:05:27 +0000 (11:05 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 2 Oct 2004 11:05:27 +0000 (11:05 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12185 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/h323_analysis.c
gtk/h323_conversations_dlg.c

index c3b30ebfec6bb8b9039c06fd807ebaa4726fa4fe..b9a574d00a5e8a5dc90be26eb3c0d52c9c170838 100644 (file)
@@ -437,6 +437,8 @@ void create_h225_dialog(user_data_t* user_data)
         gchar str_ip_src[16];
         gchar str_ip_dst[16];
 
+        /* as multiple analysis windows can be opened, 
+         * don't use window_new_with_geom(), as that will place them on top of each other! */
        window = window_new(GTK_WINDOW_TOPLEVEL, "Ethereal: H.323 VoIP Analysis");
         gtk_window_set_default_size(GTK_WINDOW(window), 700, 350);
 
index e4c4c42a95abc47c8d75e9aa701fadb8f32be039..dfcc0ecdba0c1a61ce0ae64f0aa5f69b3f02e16f 100644 (file)
@@ -382,6 +382,10 @@ static void h323conversations_dlg_create (void)
        GtkWidget *column_lb;
        int i;
 
+    /* don't use a window here (but a dialog), because otherwise a parent
+     * analysis window will hide this one and show the main window :-( */
+       /*h323conversations_dlg_w = window_new_with_geom(GTK_WINDOW_TOPLEVEL, 
+        "Ethereal: H.323 VoIP Conversations", "H323-conversations");*/
        h323conversations_dlg_w = dlg_window_new("Ethereal: H.323 VoIP Conversations");
        gtk_window_set_default_size(GTK_WINDOW(h323conversations_dlg_w), 700, 300);