From 186faf3821d20ad3073bc3a23bd7e427b59be069 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 10 Mar 2010 22:42:27 -0500 Subject: Bug 201362 - Evolution doesn't remember window positions Finally found the bug in GConfBridge... --- e-util/gconf-bridge.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'e-util') diff --git a/e-util/gconf-bridge.c b/e-util/gconf-bridge.c index ac1b4d459d..d0f884d8fa 100644 --- a/e-util/gconf-bridge.c +++ b/e-util/gconf-bridge.c @@ -739,6 +739,10 @@ window_binding_unmap_cb (GtkWindow *window, if (binding->sync_timeout_id > 0) g_source_remove (binding->sync_timeout_id); + /* XXX It's too late to record the window position. + * gtk_window_get_position() will report (0, 0). */ + binding->bind_pos = FALSE; + window_binding_perform_scheduled_sync (binding); return FALSE; -- cgit