aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/fc_stat.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-05-27 19:59:50 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-05-27 19:59:50 +0000
commit8d121bfb928569e167ad6c35b5ed97ab5388804f (patch)
treefe47d6b38945a0937210a3aaf2322d913dd0e3fd /gtk/fc_stat.c
parent6f8e9eeafe523a2809079e4a3a125db0a76c68b2 (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 svn path=/trunk/; revision=11021
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 */