diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-10-07 00:13:15 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-10-07 09:09:29 +0800 |
commit | 71f83089ccbb07760d3db525053a324d34717f43 (patch) | |
tree | deafafafc541c215d74fd154c16e1d3925a8c2e0 /modules/calendar/e-task-shell-view-actions.c | |
parent | 2db9eff43ee816ad22b00a3808d6b4e7f0df228b (diff) | |
download | gsoc2013-evolution-71f83089ccbb07760d3db525053a324d34717f43.tar gsoc2013-evolution-71f83089ccbb07760d3db525053a324d34717f43.tar.gz gsoc2013-evolution-71f83089ccbb07760d3db525053a324d34717f43.tar.bz2 gsoc2013-evolution-71f83089ccbb07760d3db525053a324d34717f43.tar.lz gsoc2013-evolution-71f83089ccbb07760d3db525053a324d34717f43.tar.xz gsoc2013-evolution-71f83089ccbb07760d3db525053a324d34717f43.tar.zst gsoc2013-evolution-71f83089ccbb07760d3db525053a324d34717f43.zip |
Bug 597533 - e_file_dialog_save() does not pass parent window
Diffstat (limited to 'modules/calendar/e-task-shell-view-actions.c')
-rw-r--r-- | modules/calendar/e-task-shell-view-actions.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/calendar/e-task-shell-view-actions.c b/modules/calendar/e-task-shell-view-actions.c index 2592df2481..fb7b89b049 100644 --- a/modules/calendar/e-task-shell-view-actions.c +++ b/modules/calendar/e-task-shell-view-actions.c @@ -598,6 +598,8 @@ static void action_task_save_as_cb (GtkAction *action, ETaskShellView *task_shell_view) { + EShellView *shell_view; + EShellWindow *shell_window; ETaskShellContent *task_shell_content; ECalendarTable *task_table; ECalModelComponent *comp_data; @@ -605,6 +607,9 @@ action_task_save_as_cb (GtkAction *action, gchar *filename; gchar *string; + shell_view = E_SHELL_VIEW (task_shell_view); + shell_window = e_shell_view_get_shell_window (shell_view); + task_shell_content = task_shell_view->priv->task_shell_content; task_table = e_task_shell_content_get_task_table (task_shell_content); @@ -613,7 +618,8 @@ action_task_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; |