aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/tap_dfilter_dlg.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/tap_dfilter_dlg.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/tap_dfilter_dlg.c')
-rw-r--r--gtk/tap_dfilter_dlg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/tap_dfilter_dlg.c b/gtk/tap_dfilter_dlg.c
index cc20d17cfd..47f6156c6e 100644
--- a/gtk/tap_dfilter_dlg.c
+++ b/gtk/tap_dfilter_dlg.c
@@ -2,7 +2,7 @@
* Routines for display filter dialog used by gui taps
* Copyright 2003 Lars Roland
*
- * $Id: tap_dfilter_dlg.c,v 1.8 2004/05/23 23:24:06 ulfl Exp $
+ * $Id: tap_dfilter_dlg.c,v 1.9 2004/05/27 19:59:50 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -158,6 +158,7 @@ gtk_tap_dfilter_dlg_cb(GtkWidget *w _U_, gpointer data)
title = g_strdup_printf("Ethereal: %s: %s", current_dlg->cont.win_title , cf_get_display_name(&cfile));
current_dlg->dlg=dlg_window_new(title);
+ gtk_window_set_default_size(GTK_WINDOW(current_dlg->dlg), 300, -1);
g_free(title);
dlg_box=gtk_vbox_new(FALSE, 10);
@@ -176,7 +177,6 @@ gtk_tap_dfilter_dlg_cb(GtkWidget *w _U_, gpointer data)
/* Filter entry */
current_dlg->filter_entry=gtk_entry_new();
- WIDGET_SET_SIZE(current_dlg->filter_entry, 300, 25);
SIGNAL_CONNECT(current_dlg->filter_entry, "changed", filter_te_syntax_check_cb, NULL);
/* filter prefs dialog */