aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/fc_stat.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-05-27 19:59:50 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-05-27 19:59:50 +0000
commitf389d6953b222fe997ca068ba9a96774ec911d93 (patch)
treefe47d6b38945a0937210a3aaf2322d913dd0e3fd /gtk/fc_stat.c
parent1c2d1fbc0c7200e294d274740dca8219315d19ff (diff)
use gtk_window_set_default_size() instead of WIDGET_SET_SIZE() for the dialogs,
as WIDGET_SET_SIZE() will prevent the user from shrinking the dialog, and gtk_window_set_default_size() will not git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11021 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/fc_stat.c')
-rw-r--r--gtk/fc_stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/fc_stat.c b/gtk/fc_stat.c
index 5ff9d812aa..40843acd5e 100644
--- a/gtk/fc_stat.c
+++ b/gtk/fc_stat.c
@@ -1,7 +1,7 @@
/* fc_stat.c
* fc_stat 2003 Ronnie Sahlberg
*
- * $Id: fc_stat.c,v 1.32 2004/05/23 23:24:05 ulfl Exp $
+ * $Id: fc_stat.c,v 1.33 2004/05/27 19:59:49 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -245,6 +245,7 @@ gtk_fcstat_cb(GtkWidget *w _U_, gpointer d _U_)
}
dlg=dlg_window_new("Ethereal: Compute Fibre Channel Service Response Time statistics");
+ gtk_window_set_default_size(GTK_WINDOW(dlg), 400, -1);
dlg_box=gtk_vbox_new(FALSE, 10);
gtk_container_border_width(GTK_CONTAINER(dlg_box), 10);
@@ -262,7 +263,6 @@ gtk_fcstat_cb(GtkWidget *w _U_, gpointer d _U_)
/* Filter entry */
filter_entry=gtk_entry_new();
- WIDGET_SET_SIZE(filter_entry, 300, -1);
SIGNAL_CONNECT(filter_entry, "changed", filter_te_syntax_check_cb, NULL);
/* filter prefs dialog */