[gnome-music/wip/mschraal/gtk4: 88/90] data/ui: Correct gesture use in AlbumsView



commit 3fdcd33aaa0806bc9d77ea635f13f2328b4a8c23
Author: Marinus Schraal <mschraal gnome org>
Date:   Fri Jun 26 16:37:51 2020 +0200

    data/ui: Correct gesture use in AlbumsView

 data/ui/AlbumsView.ui | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/data/ui/AlbumsView.ui b/data/ui/AlbumsView.ui
index d5267ae1..6a11234c 100644
--- a/data/ui/AlbumsView.ui
+++ b/data/ui/AlbumsView.ui
@@ -26,15 +26,16 @@
             <style>
               <class name="content-view"/>
             </style>
+            <child>
+              <object class="GtkGestureLongPress" id="_flowbox_long_press">
+                <property name="propagation-phase">capture</property>
+                <signal name="begin" handler="_on_flowbox_press_begin" swapped="no"/>
+                <signal name="cancel" handler="_on_flowbox_press_cancel" swapped="no"/>
+              </object>
+            </child>
           </object>
         </child>
       </object>
     </child>
   </template>
-  <object class="GtkGestureLongPress" id="_flowbox_long_press">
-    <property name="propagation-phase">capture</property>
-    <property name="widget">_flowbox</property>
-    <signal name="begin" handler="_on_flowbox_press_begin" swapped="no"/>
-    <signal name="cancel" handler="_on_flowbox_press_cancel" swapped="no"/>
-  </object>
 </interface>


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