aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-03-11 11:42:27 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-03-11 11:42:27 +0800
commit186faf3821d20ad3073bc3a23bd7e427b59be069 (patch)
tree2a0e05cf665e88bedb9b4fe8bfbb1033c326045e
parent6af1b3178dcf5e3271f6be4d785c28cbe9043404 (diff)
downloadgsoc2013-evolution-186faf3821d20ad3073bc3a23bd7e427b59be069.tar
gsoc2013-evolution-186faf3821d20ad3073bc3a23bd7e427b59be069.tar.gz
gsoc2013-evolution-186faf3821d20ad3073bc3a23bd7e427b59be069.tar.bz2
gsoc2013-evolution-186faf3821d20ad3073bc3a23bd7e427b59be069.tar.lz
gsoc2013-evolution-186faf3821d20ad3073bc3a23bd7e427b59be069.tar.xz
gsoc2013-evolution-186faf3821d20ad3073bc3a23bd7e427b59be069.tar.zst
gsoc2013-evolution-186faf3821d20ad3073bc3a23bd7e427b59be069.zip
Bug 201362 - Evolution doesn't remember window positions
Finally found the bug in GConfBridge...
-rw-r--r--e-util/gconf-bridge.c4
1 files changed, 4 insertions, 0 deletions
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;