diff options
Diffstat (limited to 'shell/e-shell-window-actions.c')
-rw-r--r-- | shell/e-shell-window-actions.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c index 2364a69e4b..30d171e759 100644 --- a/shell/e-shell-window-actions.c +++ b/shell/e-shell-window-actions.c @@ -888,9 +888,12 @@ static void action_preferences_cb (GtkAction *action, EShellWindow *shell_window) { + EShell *shell; GtkWidget *preferences_window; - preferences_window = e_shell_get_preferences_window (); + shell = e_shell_window_get_shell (shell_window); + preferences_window = e_shell_get_preferences_window (shell); + gtk_window_set_transient_for ( GTK_WINDOW (preferences_window), GTK_WINDOW (shell_window)); |