diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2009-02-19 14:22:32 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-02-19 14:22:32 +0800 |
commit | 1a40acf554290883d6cf2a491dc36685842fd26b (patch) | |
tree | a920466e9b41ee104dd13d1335820770a17904a2 /shell/e-shell-window-actions.c | |
parent | 0110c94c6abdbb25b4fea6a21f20f00b82a0fdd8 (diff) | |
download | gsoc2013-evolution-1a40acf554290883d6cf2a491dc36685842fd26b.tar.gz gsoc2013-evolution-1a40acf554290883d6cf2a491dc36685842fd26b.tar.zst gsoc2013-evolution-1a40acf554290883d6cf2a491dc36685842fd26b.zip |
Documentation tweaks.
Have e_shell_get_preferences_window() take an EShell argument.
svn path=/branches/kill-bonobo/; revision=37294
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)); |