diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-06-21 20:42:07 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-06-21 20:42:07 +0000 |
commit | 7d575e7a5e87006f78dbe2c940150fb367c25951 (patch) | |
tree | 6b95952b18f23f80e6dc61e47fafa350258a72a0 /gtk/conversations_table.c | |
parent | 8780361baeb0e489fb9c7f1adfd2d5512d39d17b (diff) |
Change window_new() to dlg_window_new() and destroy the window with the top level window.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28796 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/conversations_table.c')
-rw-r--r-- | gtk/conversations_table.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk/conversations_table.c b/gtk/conversations_table.c index 7a3e73f9c6..32e1c9f657 100644 --- a/gtk/conversations_table.c +++ b/gtk/conversations_table.c @@ -1318,7 +1318,8 @@ init_conversation_table(gboolean hide_ports, const char *table_name, const char conversations->filter=filter; conversations->use_dfilter=FALSE; g_snprintf(title, sizeof(title), "%s Conversations: %s", table_name, cf_get_display_name(&cfile)); - conversations->win=window_new(GTK_WINDOW_TOPLEVEL, title); + conversations->win = dlg_window_new(title); /* transient_for top_level */ + gtk_window_set_destroy_with_parent (GTK_WINDOW(conversations->win), TRUE); gtk_window_set_default_size(GTK_WINDOW(conversations->win), 750, 400); @@ -1526,7 +1527,9 @@ init_conversation_notebook_cb(GtkWidget *w _U_, gpointer d _U_) pages = g_malloc(sizeof(void *) * (g_slist_length(registered_ct_tables) + 1)); g_snprintf(title, sizeof(title), "Conversations: %s", cf_get_display_name(&cfile)); - win=window_new(GTK_WINDOW_TOPLEVEL, title); + win = dlg_window_new(title); /* transient_for top_level */ + gtk_window_set_destroy_with_parent (GTK_WINDOW(win), TRUE); + gtk_window_set_default_size(GTK_WINDOW(win), 750, 400); vbox=gtk_vbox_new(FALSE, 6); |