diff options
Diffstat (limited to 'modules/calendar/e-cal-shell-view-memopad.c')
-rw-r--r-- | modules/calendar/e-cal-shell-view-memopad.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/calendar/e-cal-shell-view-memopad.c b/modules/calendar/e-cal-shell-view-memopad.c index 5f1ed972dd..3a92cbc777 100644 --- a/modules/calendar/e-cal-shell-view-memopad.c +++ b/modules/calendar/e-cal-shell-view-memopad.c @@ -258,8 +258,11 @@ action_calendar_memopad_save_as_cb (GtkAction *action, comp_data = list->data; g_slist_free (list); + /* To Translators: Default filename part saving a memo to a file when no summary is filed, the '.ics' extension is concatenated to it */ + string = icalcomp_suggest_filename (comp_data->icalcomp, _("memo")); file = e_shell_run_save_dialog ( - shell, _("Save as iCalendar"), NULL, NULL, NULL); + shell, _("Save as iCalendar"), string, "*.ics:text/calendar", NULL, NULL); + g_free (string); if (file == NULL) return; |