aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-actions.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-02-19 14:22:32 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-02-19 14:22:32 +0800
commit1a40acf554290883d6cf2a491dc36685842fd26b (patch)
treea920466e9b41ee104dd13d1335820770a17904a2 /shell/e-shell-window-actions.c
parent0110c94c6abdbb25b4fea6a21f20f00b82a0fdd8 (diff)
downloadgsoc2013-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.c5
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));