summaryrefslogtreecommitdiff
path: root/ui/gtk/sctp_stat_dlg.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-01-15 17:10:32 +0000
committerBill Meier <wmeier@newsguy.com>2013-01-15 17:10:32 +0000
commite0b350aafb46179eab01bc9566ac8a0152bfcad0 (patch)
treecc14d09fec8dce58f34f5cb211cee124e4666ac0 /ui/gtk/sctp_stat_dlg.c
parentb1ac6585bc5e2be9a71c9b72d228cc46d8b27b4b (diff)
downloadwireshark-e0b350aafb46179eab01bc9566ac8a0152bfcad0.tar.gz
Fix Gtk2 vs Gtk3 issue:
Set a default size for the window so that the initial size of the window in Gtk3 is similar to that in Gtk2. That is: so that all the columns (and a number of rows) show. svn path=/trunk/; revision=47099
Diffstat (limited to 'ui/gtk/sctp_stat_dlg.c')
-rw-r--r--ui/gtk/sctp_stat_dlg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/gtk/sctp_stat_dlg.c b/ui/gtk/sctp_stat_dlg.c
index 80c938f940..529985d19b 100644
--- a/ui/gtk/sctp_stat_dlg.c
+++ b/ui/gtk/sctp_stat_dlg.c
@@ -562,6 +562,7 @@ gtk_sctpstat_dlg(void)
sctp_stat_dlg_w = window_new (GTK_WINDOW_TOPLEVEL, "Wireshark: SCTP Associations");
gtk_window_set_position (GTK_WINDOW (sctp_stat_dlg_w), GTK_WIN_POS_CENTER);
+ gtk_window_set_default_size(GTK_WINDOW(sctp_stat_dlg_w), 1000, 300);
g_signal_connect(sctp_stat_dlg_w, "destroy", G_CALLBACK(dlg_destroy), NULL);
/* Container for each row of widgets */