aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorMilan Crha <mcrha@src.gnome.org>2007-08-24 00:16:57 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-08-24 00:16:57 +0800
commitb9f550c63104c2ef13b828d3d4f86f0c408365b4 (patch)
tree66acaf8809a9e4a28ff3f67d86aabebff02861cb /calendar/gui/dialogs
parent3e8006805fed9fb623e5ec1e5e1dd9440cc129d3 (diff)
downloadgsoc2013-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/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/cal-prefs-dialog.c5
1 files changed, 3 insertions, 2 deletions
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 ();