aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorDamon Chaplin <damon@ximian.com>2001-10-29 08:22:58 +0800
committerDamon Chaplin <damon@src.gnome.org>2001-10-29 08:22:58 +0800
commite554710d002f2d1843c9783cd2a727ce7dd51af2 (patch)
tree10f8a152ff630b07e8782ebc9f5a21eb0935810c /calendar
parenta023b22c3f2f126e5c96c1c407ed2d8a0cb55cac (diff)
downloadgsoc2013-evolution-e554710d002f2d1843c9783cd2a727ce7dd51af2.tar.gz
gsoc2013-evolution-e554710d002f2d1843c9783cd2a727ce7dd51af2.tar.zst
gsoc2013-evolution-e554710d002f2d1843c9783cd2a727ce7dd51af2.zip
added break statements after each case, when setting the classification.
2001-10-28 Damon Chaplin <damon@ximian.com> * gui/dialogs/task-page.c (task_page_fill_widgets): added break statements after each case, when setting the classification. Fixes bug #13772. svn path=/trunk/; revision=14307
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/dialogs/task-page.c6
2 files changed, 12 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 975ee70498..c546f503fa 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+2001-10-28 Damon Chaplin <damon@ximian.com>
+
+ * gui/dialogs/task-page.c (task_page_fill_widgets): added break
+ statements after each case, when setting the classification.
+ Fixes bug #13772.
+
2001-10-28 Rodrigo Moya <rodrigo@ximian.com>
* cal-client/cal-client.c (destroy_wombat_client): removed this
diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c
index 00b80241ff..367b63a7c2 100644
--- a/calendar/gui/dialogs/task-page.c
+++ b/calendar/gui/dialogs/task-page.c
@@ -419,14 +419,20 @@ task_page_fill_widgets (CompEditorPage *page, CalComponent *comp)
e_dialog_radio_set (priv->classification_public,
CAL_COMPONENT_CLASS_PUBLIC,
classification_map);
+ break;
+
case CAL_COMPONENT_CLASS_PRIVATE:
e_dialog_radio_set (priv->classification_public,
CAL_COMPONENT_CLASS_PRIVATE,
classification_map);
+ break;
+
case CAL_COMPONENT_CLASS_CONFIDENTIAL:
e_dialog_radio_set (priv->classification_public,
CAL_COMPONENT_CLASS_CONFIDENTIAL,
classification_map);
+ break;
+
default:
/* What do do? We can't g_assert_not_reached() since it is a
* value from an external file.