aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-actions.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2008-08-30 12:42:02 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-08-30 12:42:02 +0800
commit3843185df1e71e14e4f2e5d34aca34724090b496 (patch)
tree78c0b9336c798f106d25fceca4fd8a6be5f11301 /shell/e-shell-window-actions.c
parente0c501b7018f12d37b10e32923f95b7a01c7982c (diff)
downloadgsoc2013-evolution-3843185df1e71e14e4f2e5d34aca34724090b496.tar
gsoc2013-evolution-3843185df1e71e14e4f2e5d34aca34724090b496.tar.gz
gsoc2013-evolution-3843185df1e71e14e4f2e5d34aca34724090b496.tar.bz2
gsoc2013-evolution-3843185df1e71e14e4f2e5d34aca34724090b496.tar.lz
gsoc2013-evolution-3843185df1e71e14e4f2e5d34aca34724090b496.tar.xz
gsoc2013-evolution-3843185df1e71e14e4f2e5d34aca34724090b496.tar.zst
gsoc2013-evolution-3843185df1e71e14e4f2e5d34aca34724090b496.zip
Preferences window awesomeness.
svn path=/branches/kill-bonobo/; revision=36215
Diffstat (limited to 'shell/e-shell-window-actions.c')
-rw-r--r--shell/e-shell-window-actions.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c
index 61f95576cd..a43333c5b1 100644
--- a/shell/e-shell-window-actions.c
+++ b/shell/e-shell-window-actions.c
@@ -734,6 +734,12 @@ action_preferences_cb (GtkAction *action,
GtkWidget *preferences_window;
preferences_window = e_shell_get_preferences_window ();
+ gtk_window_set_transient_for (
+ GTK_WINDOW (preferences_window),
+ GTK_WINDOW (shell_window));
+ gtk_window_set_position (
+ GTK_WINDOW (preferences_window),
+ GTK_WIN_POS_CENTER_ON_PARENT);
gtk_window_present (GTK_WINDOW (preferences_window));
/* FIXME Switch to a page appropriate for the current view. */