diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2001-03-01 20:49:50 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2001-03-01 20:49:50 +0000 |
commit | e9b0d49fb0f022472265bdcfc56ec550c44bde64 (patch) | |
tree | 88e3e9c9d8b2618f2bda70a1e3994b42ad41754b /gtk/stream_prefs.c | |
parent | 187934cad4abd1cbe301b9d7b78a05f045cb3203 (diff) |
Don't let the color selection dialogue for TCP Streams
stretch itself due to a really wide notebook widget.
svn path=/trunk/; revision=3090
Diffstat (limited to 'gtk/stream_prefs.c')
-rw-r--r-- | gtk/stream_prefs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/stream_prefs.c b/gtk/stream_prefs.c index 6ada92b862..6ccb613aee 100644 --- a/gtk/stream_prefs.c +++ b/gtk/stream_prefs.c @@ -1,7 +1,7 @@ /* stream_prefs.c * Dialog boxes for preferences for the stream window * - * $Id: stream_prefs.c,v 1.7 2000/11/21 23:54:10 guy Exp $ + * $Id: stream_prefs.c,v 1.8 2001/03/01 20:49:50 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -126,7 +126,9 @@ stream_prefs_show() gtk_widget_show(sample); gtk_color_selection_set_color(GTK_COLOR_SELECTION(colorsel), &scolor[CS_RED]); - gtk_table_attach_defaults(GTK_TABLE(main_tb), colorsel, 0, 3, 2, 3); + gtk_table_attach(GTK_TABLE(main_tb), colorsel, 0, 3, 2, 3, + GTK_SHRINK, GTK_SHRINK, 0, 0); + gtk_object_set_data(GTK_OBJECT(colorsel), STREAM_SAMPLE_KEY, (gpointer) sample); gtk_signal_connect(GTK_OBJECT(colorsel), "color-changed", |