From 3184f3d532f7d1aabfcf49a0ba6fef9c6fcbdf5e Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 24 Aug 2009 22:29:05 -0400 Subject: Remember position of main window. --- shell/apps_evolution_shell.schemas.in | 22 ++++++++++++++++++++++ shell/e-shell-window-private.c | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) (limited to 'shell') 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 @@ -98,6 +98,28 @@ + + /schemas/apps/evolution/shell/view_defaults/window_y + /apps/evolution/shell/view_defaults/window_y + evolution + int + + Default window Y coordinate + The default Y coordinate for the main window. + + + + + /schemas/apps/evolution/shell/view_defaults/window_x + /apps/evolution/shell/view_defaults/window_x + evolution + int + + Default window X coordinate + The default X coordinate for the main window. + + + /schemas/apps/evolution/shell/view_defaults/window_width /apps/evolution/shell/view_defaults/window_width 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"; -- cgit