[nautilus] files-view: notify selection property when it changes



commit 02cc5e55c4df0c8588ed93dcd3f0e6e5f795645a
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Jul 6 22:59:14 2019 -0700

    files-view: notify selection property when it changes
    
    As well as emitting 'selection-changed', also notify the property.

 src/nautilus-files-view.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c
index f61b6bce9..40e2a2334 100644
--- a/src/nautilus-files-view.c
+++ b/src/nautilus-files-view.c
@@ -3498,6 +3498,7 @@ static void
 nautilus_files_view_send_selection_change (NautilusFilesView *view)
 {
     g_signal_emit (view, signals[SELECTION_CHANGED], 0);
+    g_object_notify (G_OBJECT (view), "selection");
 }
 
 static void


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