[geary/mjog/account-command-stacks: 24/25] ConversationListView: Remove some unused code



commit e564ab4a031b8d025dd3b25303a365b1bc0cad26
Author: Michael Gratton <mike vee net>
Date:   Tue Nov 5 10:56:50 2019 +1100

    ConversationListView: Remove some unused code

 .../conversation-list/conversation-list-view.vala       | 17 -----------------
 1 file changed, 17 deletions(-)
---
diff --git a/src/client/conversation-list/conversation-list-view.vala 
b/src/client/conversation-list/conversation-list-view.vala
index 0be2d5ec..66e352c2 100644
--- a/src/client/conversation-list/conversation-list-view.vala
+++ b/src/client/conversation-list/conversation-list-view.vala
@@ -18,7 +18,6 @@ public class ConversationListView : Gtk.TreeView, Geary.BaseInterface {
     private Geary.Scheduler.Scheduled? scheduled_update_visible_conversations = null;
     private Gee.Set<Geary.App.Conversation> selected = new Gee.HashSet<Geary.App.Conversation>();
     private Geary.IdleManager selection_update;
-    private bool suppress_selection = false;
 
     public signal void conversations_selected(Gee.Set<Geary.App.Conversation> selected);
 
@@ -161,22 +160,6 @@ public class ConversationListView : Gtk.TreeView, Geary.BaseInterface {
         }
     }
 
-    /**
-     * Specifies an action is currently changing the view's selection.
-     */
-    public void set_changing_selection(bool is_changing) {
-        // Make sure that when not autoselecting, and if the user is
-        // causing selected rows to be removed, the next row is not
-        // automatically selected by GtkTreeView
-        if (is_changing) {
-            this.suppress_selection =
-                !GearyApplication.instance.config.autoselect;
-        } else {
-            // If no longer changing, always re-enable selection
-            get_selection().set_mode(Gtk.SelectionMode.MULTIPLE);
-        }
-    }
-
     private void check_load_more() {
         ConversationListStore? model = get_model();
         Geary.App.ConversationMonitor? conversations = (model != null)


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