Updating branch refs/heads/master
         to a4813f0d5d79dd355a015261f82845fc05eec2cc (commit)
       from b6638876121bfb98125bd73b4b5390f24797d7dc (commit)

commit a4813f0d5d79dd355a015261f82845fc05eec2cc
Author: Mike Massonnet <mmasson...@xfce.org>
Date:   Sun Oct 23 17:10:54 2011 +0200

    status-icon: Fix commit 36d22a for remembering window position
    
    The window position was restored only when hiding the application
    by clicking on the status icon, but not when closing the window.

 src/main-window.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main-window.vala b/src/main-window.vala
index d172484..a386707 100644
--- a/src/main-window.vala
+++ b/src/main-window.vala
@@ -145,7 +145,6 @@ namespace Xfmpc {
                                this.deiconify ();
                        } else {
                                this.close_window ();
-                               move (this.preferences.last_window_posx, 
this.preferences.last_window_posy);
                        }
                }
 
@@ -227,6 +226,7 @@ namespace Xfmpc {
 
                        if (this.status_icon.visible) {
                                this.hide ();
+                               move (this.preferences.last_window_posx, 
this.preferences.last_window_posy);
                                return;
                        }
 
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to