[gnome-music/wip/jfelder/gtk4-v3: 18/169] ui/PlaylistControls: Fix Controller




commit 3be465bf84063328b2a6189e4dcbdb52dac6b39a
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]