diff options
author | Milan Crha <mcrha@src.gnome.org> | 2007-08-24 00:16:57 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2007-08-24 00:16:57 +0800 |
commit | b9f550c63104c2ef13b828d3d4f86f0c408365b4 (patch) | |
tree | 66acaf8809a9e4a28ff3f67d86aabebff02861cb /calendar | |
parent | 3e8006805fed9fb623e5ec1e5e1dd9440cc129d3 (diff) | |
download | gsoc2013-evolution-b9f550c63104c2ef13b828d3d4f86f0c408365b4.tar.gz gsoc2013-evolution-b9f550c63104c2ef13b828d3d4f86f0c408365b4.tar.zst gsoc2013-evolution-b9f550c63104c2ef13b828d3d4f86f0c408365b4.zip |
2007-08-23 mcrha Fix for bug #385517
svn path=/trunk/; revision=34079
Diffstat (limited to 'calendar')
-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 (); |