diff options
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/dialogs/cal-prefs-dialog.c | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 1825f72a4f..42b97168fa 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,12 @@ 2007-08-23 Milan Crha <mcrha@redhat.com> + ** Fix for bug #385517 + + * gui/dialogs/cal-prefs-dialog.c: (show_task_list_config): + Use actual state to sensitive tasks_hide_completed_* widgets. + +2007-08-23 Milan Crha <mcrha@redhat.com> + ** Fix for bug #329746 * gui/dialogs/comp-editor.c: (make_icon_from_comp): diff --git a/calendar/gui/dialogs/cal-prefs-dialog.c b/calendar/gui/dialogs/cal-prefs-dialog.c index 724d4683a8..997bb289c9 100644 --- a/calendar/gui/dialogs/cal-prefs-dialog.c +++ b/calendar/gui/dialogs/cal-prefs-dialog.c @@ -430,7 +430,7 @@ show_task_list_config (CalendarPrefsDialog *prefs) GtkColorButton *color_button; GdkColor color; CalUnits units; - gboolean hide_completed_tasks = FALSE; + gboolean hide_completed_tasks; color_button = GTK_COLOR_BUTTON (prefs->tasks_due_today_color); calendar_config_get_tasks_due_today_color (&color); @@ -441,7 +441,8 @@ show_task_list_config (CalendarPrefsDialog *prefs) gtk_color_button_set_color (color_button, &color); /* Hide Completed Tasks. */ - e_dialog_toggle_set (prefs->tasks_hide_completed, calendar_config_get_hide_completed_tasks ()); + hide_completed_tasks = calendar_config_get_hide_completed_tasks (); + e_dialog_toggle_set (prefs->tasks_hide_completed, hide_completed_tasks); /* Hide Completed Tasks Units. */ units = calendar_config_get_hide_completed_tasks_units (); |