[nautilus/wip/antoniof/new-list-view-continuation: 2/32] view-icon-controller: Don't notify FilesView twice




commit 42eb37b6c463acb1ac5dee207ada1871992697fd
Author: António Fernandes <antoniof gnome org>
Date:   Thu Feb 10 12:56:31 2022 +0000

    view-icon-controller: Don't notify FilesView twice
    
    We already notify selection changes by listening to the selection model
    signal.

 src/nautilus-view-icon-controller.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/nautilus-view-icon-controller.c b/src/nautilus-view-icon-controller.c
index 765e1d6cc..e3a0f7ba7 100644
--- a/src/nautilus-view-icon-controller.c
+++ b/src/nautilus-view-icon-controller.c
@@ -387,8 +387,6 @@ real_set_selection (NautilusFilesView *files_view,
     gtk_selection_model_set_selection (GTK_SELECTION_MODEL (self->model),
                                        selection_set,
                                        update_set);
-
-    nautilus_files_view_notify_selection_changed (files_view);
 }
 
 static void


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