[gnome-documents] base-view: use GTK_SELECTION_NONE for the treeview



commit 8009f27a1d9be059673411c2c9a18fe68f91833c
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Nov 26 03:07:32 2011 -0500

    base-view: use GTK_SELECTION_NONE for the treeview
    
    We don't want an additional selection, since we already have the radio
    indicator.

 src/manager.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/manager.js b/src/manager.js
index cec996b..81e53f3 100644
--- a/src/manager.js
+++ b/src/manager.js
@@ -231,7 +231,7 @@ BaseView.prototype = {
         this._treeView.set_model(this._model.model);
 
         let selection = this._treeView.get_selection();
-        selection.set_mode(Gtk.SelectionMode.SINGLE);
+        selection.set_mode(Gtk.SelectionMode.NONE);
 
         this._treeView.connect('row-activated', Lang.bind(this,
             function(view, path) {



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