[gnome-boxes] collection-view: Disallow selection_mode from the view



commit 1328371f7ef56ea51a08f47e29adf025405c0dfd
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Fri Nov 14 14:11:02 2014 +0000

    collection-view: Disallow selection_mode from the view
    
    If the view is requesting selection mode, it means user has clicked
    right-mouse button and we now want to show a context menu on
    right-click.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=738761

 src/collection-view.vala |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/collection-view.vala b/src/collection-view.vala
index 9f606d1..4bad43f 100644
--- a/src/collection-view.vala
+++ b/src/collection-view.vala
@@ -291,9 +291,7 @@ private class Boxes.CollectionView: Gd.MainView, Boxes.UI {
             queue_draw ();
             App.app.notify_property ("selected-items");
         });
-        selection_mode_request.connect (() => {
-            window.selection_mode = true;
-        });
+
         show_all ();
     }
 


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