[sushi/gnome-3-4] main-window: move the window to the current desktop when shown



commit 38c042bbfdd62f8400628f93982a7d440b7cfddc
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Apr 11 15:22:21 2012 -0400

    main-window: move the window to the current desktop when shown
    
    https://bugzilla.gnome.org/show_bug.cgi?id=670763

 src/js/ui/mainWindow.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/js/ui/mainWindow.js b/src/js/ui/mainWindow.js
index 0009da8..cb76649 100644
--- a/src/js/ui/mainWindow.js
+++ b/src/js/ui/mainWindow.js
@@ -660,6 +660,8 @@ MainWindow.prototype = {
         this._gtkWindow.realize();
         this._gtkWindow.get_window().set_transient_for(this._parent);
         this._gtkWindow.show_all();
+
+        this._gtkWindow.get_window().move_to_current_desktop();
     },
 
     setFile : function(file) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]