aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/cancel-comp.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/calendar/gui/dialogs/cancel-comp.c b/calendar/gui/dialogs/cancel-comp.c
index 008f70e39e..eedd7ce49c 100644
--- a/calendar/gui/dialogs/cancel-comp.c
+++ b/calendar/gui/dialogs/cancel-comp.c
@@ -54,28 +54,27 @@ cancel_component_dialog (GtkWindow *parent, ECal *client, ECalComponent *comp, g
switch (vtype) {
case E_CAL_COMPONENT_EVENT:
if (deleting)
- id = "calendar:prompt-delete-meeting";
- else
id = "calendar:prompt-cancel-meeting";
+ else
+ id = "calendar:prompt-delete-meeting";
break;
case E_CAL_COMPONENT_TODO:
if (deleting)
- id = "calendar:prompt-delete-task";
- else
id = "calendar:prompt-cancel-task";
+ else
+ id = "calendar:prompt-delete-task";
break;
case E_CAL_COMPONENT_JOURNAL:
if (deleting)
- id = "calendar:prompt-delete-journal";
- else
id = "calendar:prompt-cancel-journal";
+ else
+ id = "calendar:prompt-delete-journal";
break;
default:
- g_message ("cancel_component_dialog(): "
- "Cannot handle object of type %d", vtype);
+ g_message (G_STRLOC ": Cannot handle object of type %d", vtype);
return FALSE;
}