[gnome-music/wip/jfelder/gtk4-v3: 1/98] ui/PlaylistControls: Fix Controller




commit 92aa629f9cb2ea9652bec640d93a1ecaf5b509bc
Author: Marinus Schraal <mschraal gnome org>
Date:   Sun Apr 11 20:51:43 2021 +0200

    ui/PlaylistControls: Fix Controller

 data/ui/PlaylistControls.ui | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/data/ui/PlaylistControls.ui b/data/ui/PlaylistControls.ui
index 836241124..2e315d7ae 100644
--- a/data/ui/PlaylistControls.ui
+++ b/data/ui/PlaylistControls.ui
@@ -59,6 +59,11 @@
             </style>
             <child>
               <object class="GtkEntry" id="_rename_entry">
+                <child>
+                  <object class="GtkEventControllerKey" id="_rename_controller">
+                    <signal name="key-pressed" handler="_on_rename_entry_key_pressed" swapped="no"/>
+                  </object>
+                </child>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="is_focus">True</property>
@@ -149,8 +154,4 @@
       </object>
     </child>
   </template>
-  <object class="GtkEventControllerKey" id="_rename_controller">
-    <property name="widget">_rename_entry</property>
-    <signal name="key-pressed" handler="_on_rename_entry_key_pressed" swapped="no"/>
-  </object>
 </interface>


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