From ef025c689be33a54883b5e8b77e58916d1c8002d Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 2 Aug 2001 03:40:17 +0000 Subject: If the default category is the same as the value passed in to this 2001-08-01 Federico Mena Quintero * gui/calendar-model.c (calendar_model_value_is_empty): If the default category is the same as the value passed in to this function, return TRUE. This could be a hack or not, but it prevents two items from being added to the table if a category is selected. * gui/e-tasks.c (setup_widgets): Allow the search bar to shrink horizontally. * gui/dialogs/task-page.c (clear_widgets): Pass valid values to e_dialog_option_menu_set(); these need to come from the status map. svn path=/trunk/; revision=11565 --- calendar/gui/e-tasks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui/e-tasks.c') diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c index 9ea9bc6e2d..ab59d80273 100644 --- a/calendar/gui/e-tasks.c +++ b/calendar/gui/e-tasks.c @@ -197,7 +197,7 @@ setup_widgets (ETasks *tasks) GTK_SIGNAL_FUNC (search_bar_category_changed_cb), tasks); gtk_table_attach (GTK_TABLE (tasks), priv->search_bar, 0, 1, 0, 1, - GTK_EXPAND | GTK_FILL, 0, 0, 0); + GTK_EXPAND | GTK_FILL | GTK_SHRINK, 0, 0, 0); gtk_widget_show (priv->search_bar); priv->tasks_view = e_calendar_table_new (); -- cgit v1.2.3