[gnome-weather] window: fix a regression from an earlier refactoring



commit 5fa7d0a70643d4024a64b2f975fdf962bd5f47ef
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Thu May 23 23:21:46 2013 +0200

    window: fix a regression from an earlier refactoring
    
    exitSelectionMode no longer exists, we expose a boolean action
    instead. But let's avoid going through GVariant, and just set
    the underlying property directly.

 src/window.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/window.js b/src/window.js
index ed88caa..815b243 100644
--- a/src/window.js
+++ b/src/window.js
@@ -319,6 +319,6 @@ const MainWindow = new Lang.Class({
                 model.removeLocation(iter);
         }
 
-        this._exitSelectionMode();
+        this._worldView.iconView.selection_mode = false;
     }
 });


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