diff options
-rw-r--r-- | widgets/ChangeLog | 7 | ||||
-rw-r--r-- | widgets/misc/e-filter-bar.c | 23 |
2 files changed, 27 insertions, 3 deletions
diff --git a/widgets/ChangeLog b/widgets/ChangeLog index 30f47dc6ee..8b3d4d8b83 100644 --- a/widgets/ChangeLog +++ b/widgets/ChangeLog @@ -1,3 +1,10 @@ +2001-07-02 Anna Marie Dirks <anna@ximian.com> + *misc/e-filter-bar.c (option_changed): Specified a default size + for the Advanced Search dialog such that when it first appear, it + is large enough to view all parts of a search clause without + the user needing to resize it. + + 2001-05-31 Federico Mena Quintero <federico@ximian.com> * menus/gal-view-menus.c (gal_view_menus_construct): Store the diff --git a/widgets/misc/e-filter-bar.c b/widgets/misc/e-filter-bar.c index 2a84912d62..6150e8cc2f 100644 --- a/widgets/misc/e-filter-bar.c +++ b/widgets/misc/e-filter-bar.c @@ -39,7 +39,6 @@ #define d(x) - enum { LAST_SIGNAL }; @@ -173,7 +172,7 @@ menubar_activated (ESearchBar *esb, int id, void *data) gnome_dialog_set_default (gd, 0); gtk_window_set_policy(GTK_WINDOW(gd), FALSE, TRUE, FALSE); - /*gtk_window_set_default_size (GTK_WINDOW (gd), 500, 500);*/ + gtk_box_pack_start((GtkBox *)gd->vbox, w, TRUE, TRUE, 0); gtk_widget_show((GtkWidget *)gd); gtk_object_ref((GtkObject *)rule); @@ -245,7 +244,7 @@ option_changed (ESearchBar *esb, void *data) gnome_dialog_set_default (gd, 0); gtk_window_set_policy(GTK_WINDOW(gd), FALSE, TRUE, FALSE); - /*gtk_window_set_default_size (GTK_WINDOW (gd), 500, 500);*/ + gtk_window_set_default_size (GTK_WINDOW (gd), 600, 300); gtk_box_pack_start((GtkBox *)gd->vbox, w, TRUE, TRUE, 0); gtk_widget_show((GtkWidget *)gd); gtk_object_ref((GtkObject *)rule); @@ -470,3 +469,21 @@ e_filter_bar_get_type (void) return type; } + + + + + + + + + + + + + + + + + + |