From 8d121bfb928569e167ad6c35b5ed97ab5388804f Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Thu, 27 May 2004 19:59:50 +0000 Subject: 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 --- gtk/fc_stat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk/fc_stat.c') 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 @@ -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 */ -- cgit v1.2.3