aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/apps_evolution_shell.schemas.in22
-rw-r--r--shell/e-shell-window-private.c2
2 files changed, 23 insertions, 1 deletions
diff --git a/shell/apps_evolution_shell.schemas.in b/shell/apps_evolution_shell.schemas.in
index c908de65e5..3f97072583 100644
--- a/shell/apps_evolution_shell.schemas.in
+++ b/shell/apps_evolution_shell.schemas.in
@@ -99,6 +99,28 @@
<!-- View defaults -->
<schema>
+ <key>/schemas/apps/evolution/shell/view_defaults/window_y</key>
+ <applyto>/apps/evolution/shell/view_defaults/window_y</applyto>
+ <owner>evolution</owner>
+ <type>int</type>
+ <locale name="C">
+ <short>Default window Y coordinate</short>
+ <long>The default Y coordinate for the main window.</long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/shell/view_defaults/window_x</key>
+ <applyto>/apps/evolution/shell/view_defaults/window_x</applyto>
+ <owner>evolution</owner>
+ <type>int</type>
+ <locale name="C">
+ <short>Default window X coordinate</short>
+ <long>The default X coordinate for the main window.</long>
+ </locale>
+ </schema>
+
+ <schema>
<key>/schemas/apps/evolution/shell/view_defaults/window_width</key>
<applyto>/apps/evolution/shell/view_defaults/window_width</applyto>
<owner>evolution</owner>
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c
index 1eb5eed460..b011bb548f 100644
--- a/shell/e-shell-window-private.c
+++ b/shell/e-shell-window-private.c
@@ -404,7 +404,7 @@ e_shell_window_private_constructed (EShellWindow *shell_window)
key = "/apps/evolution/shell/view_defaults/window";
gconf_bridge_bind_window (
- bridge, key, GTK_WINDOW (shell_window), TRUE, FALSE);
+ bridge, key, GTK_WINDOW (shell_window), TRUE, TRUE);
object = G_OBJECT (shell_window);
key = "/apps/evolution/shell/view_defaults/component_id";