diff options
Diffstat (limited to 'modules/calendar/e-cal-shell-view-memopad.c')
-rw-r--r-- | modules/calendar/e-cal-shell-view-memopad.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/calendar/e-cal-shell-view-memopad.c b/modules/calendar/e-cal-shell-view-memopad.c index 1c4e863345..7d4c1a501f 100644 --- a/modules/calendar/e-cal-shell-view-memopad.c +++ b/modules/calendar/e-cal-shell-view-memopad.c @@ -233,6 +233,8 @@ static void action_calendar_memopad_save_as_cb (GtkAction *action, ECalShellView *cal_shell_view) { + EShellView *shell_view; + EShellWindow *shell_window; ECalShellContent *cal_shell_content; EMemoTable *memo_table; ECalModelComponent *comp_data; @@ -240,6 +242,9 @@ action_calendar_memopad_save_as_cb (GtkAction *action, gchar *filename; gchar *string; + shell_view = E_SHELL_VIEW (cal_shell_view); + shell_window = e_shell_view_get_shell_window (shell_view); + cal_shell_content = cal_shell_view->priv->cal_shell_content; memo_table = e_cal_shell_content_get_memo_table (cal_shell_content); @@ -248,7 +253,8 @@ action_calendar_memopad_save_as_cb (GtkAction *action, comp_data = list->data; g_slist_free (list); - filename = e_file_dialog_save (_("Save as..."), NULL); + filename = e_file_dialog_save ( + GTK_WINDOW (shell_window), _("Save as..."), NULL); if (filename == NULL) return; |