aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/h225_ras_srt.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/h225_ras_srt.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/h225_ras_srt.c')
-rw-r--r--gtk/h225_ras_srt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/h225_ras_srt.c b/gtk/h225_ras_srt.c
index f6b8e1ab5f..1285b0e99e 100644
--- a/gtk/h225_ras_srt.c
+++ b/gtk/h225_ras_srt.c
@@ -2,7 +2,7 @@
* h225 RAS Service Response Time statistics for ethereal
* Copyright 2003 Lars Roland
*
- * $Id: h225_ras_srt.c,v 1.17 2004/05/23 23:24:05 ulfl Exp $
+ * $Id: h225_ras_srt.c,v 1.18 2004/05/27 19:59:49 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -304,6 +304,7 @@ gtk_h225rassrt_init(char *optarg)
h225rassrt_reset(hs);
hs->win=window_new(GTK_WINDOW_TOPLEVEL, "h225-ras-srt");
+ gtk_window_set_default_size(GTK_WINDOW(hs->win), 600, 300);
hs->vbox=gtk_vbox_new(FALSE, 3);
gtk_container_set_border_width(GTK_CONTAINER(hs->vbox), 12);
@@ -312,7 +313,6 @@ gtk_h225rassrt_init(char *optarg)
/* init a scrolled window*/
hs->scrolled_window = scrolled_window_new(NULL, NULL);
- WIDGET_SET_SIZE(hs->scrolled_window, 600, 160);
hs->table = create_stat_table(hs->scrolled_window, hs->vbox, 11, titles);