Make the color preferences popup menu shrink to its natural size instead
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 11 Mar 2004 00:22:41 +0000 (00:22 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 11 Mar 2004 00:22:41 +0000 (00:22 +0000)
of filling in its entire table cell.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10359 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/stream_prefs.c

index cb73ea55d4717c8ac4362c5ca1cfd7be4816bd2f..d3f3874087be1a29220d8575820ef2e4ff192afc 100644 (file)
@@ -1,7 +1,7 @@
 /* stream_prefs.c
  * Dialog boxes for preferences for the stream window
  *
- * $Id: stream_prefs.c,v 1.19 2004/01/16 11:53:40 ulfl Exp $
+ * $Id: stream_prefs.c,v 1.20 2004/03/11 00:22:41 gerald Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -123,7 +123,7 @@ stream_prefs_show()
     gtk_menu_append (GTK_MENU (menu), menuitem);
   }
   gtk_option_menu_set_menu (GTK_OPTION_MENU (optmenu), menu);
-  gtk_table_attach_defaults(GTK_TABLE(main_tb), optmenu, 1, 2, 0, 1);
+  gtk_table_attach(GTK_TABLE(main_tb), optmenu, 1, 2, 0, 1, GTK_SHRINK, GTK_SHRINK, 0, 0);
   gtk_widget_show(optmenu);
 
 #if GTK_MAJOR_VERSION < 2