aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/smb_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/smb_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/smb_stat.c')
-rw-r--r--gtk/smb_stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/smb_stat.c b/gtk/smb_stat.c
index 9cbb5568b7..f9395b9081 100644
--- a/gtk/smb_stat.c
+++ b/gtk/smb_stat.c
@@ -1,7 +1,7 @@
/* smb_stat.c
* smb_stat 2003 Ronnie Sahlberg
*
- * $Id: smb_stat.c,v 1.43 2004/05/23 23:24:06 ulfl Exp $
+ * $Id: smb_stat.c,v 1.44 2004/05/27 19:59:50 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -283,6 +283,7 @@ gtk_smbstat_cb(GtkWidget *w _U_, gpointer d _U_)
}
dlg=dlg_window_new("Ethereal: Compute SMB SRT statistics");
+ gtk_window_set_default_size(GTK_WINDOW(dlg), 300, -1);
dlg_box=gtk_vbox_new(FALSE, 10);
gtk_container_border_width(GTK_CONTAINER(dlg_box), 10);
@@ -300,7 +301,6 @@ gtk_smbstat_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 */