aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-08-02 11:40:17 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-08-02 11:40:17 +0800
commitef025c689be33a54883b5e8b77e58916d1c8002d (patch)
tree8abbb29457c28208bfa599c444bcb82b92fafba7 /calendar/gui/dialogs
parent342880e798defc90709e5e7cf97f89be71eab188 (diff)
downloadgsoc2013-evolution-ef025c689be33a54883b5e8b77e58916d1c8002d.tar.gz
gsoc2013-evolution-ef025c689be33a54883b5e8b77e58916d1c8002d.tar.zst
gsoc2013-evolution-ef025c689be33a54883b5e8b77e58916d1c8002d.zip
If the default category is the same as the value passed in to this
2001-08-01 Federico Mena Quintero <federico@ximian.com> * 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
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/task-page.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c
index e50f9f9681..4410fbddf3 100644
--- a/calendar/gui/dialogs/task-page.c
+++ b/calendar/gui/dialogs/task-page.c
@@ -286,8 +286,8 @@ clear_widgets (TaskPage *tpage)
/* Status, priority, complete percent */
e_dialog_spin_set (priv->percent_complete, 0.0);
- e_dialog_option_menu_set (priv->status, 0, status_map);
- e_dialog_option_menu_set (priv->priority, 0, priority_map);
+ e_dialog_option_menu_set (priv->status, ICAL_STATUS_NEEDSACTION, status_map);
+ e_dialog_option_menu_set (priv->priority, PRIORITY_UNDEFINED, priority_map);
/* Categories */
e_dialog_editable_set (priv->categories, NULL);