[gnome-music/wip/mschraal/gtk4-v3: 94/192] ui/playlistcontrols: Switch to GtkStackPage
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4-v3: 94/192] ui/playlistcontrols: Switch to GtkStackPage
- Date: Sat, 5 Feb 2022 20:09:37 +0000 (UTC)
commit b21050f391343f11d336bf1e9d0d04a5e018ac55
Author: Jean Felder <jfelder src gnome org>
Date: Wed Feb 2 12:32:02 2022 +0100
ui/playlistcontrols: Switch to GtkStackPage
data/ui/PlaylistControls.ui | 70 ++++++++++++++++++++++-----------------------
1 file changed, 35 insertions(+), 35 deletions(-)
---
diff --git a/data/ui/PlaylistControls.ui b/data/ui/PlaylistControls.ui
index d437180da..4c9326f52 100644
--- a/data/ui/PlaylistControls.ui
+++ b/data/ui/PlaylistControls.ui
@@ -38,46 +38,46 @@
</object>
</child>
<child>
- <object class="GtkBox">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="orientation">horizontal</property>
- <style>
- <class name="linked"/>
- </style>
- <child>
- <object class="GtkEntry" id="_rename_entry">
+ <object class="GtkStackPage">
+ <property name="name">renaming_dialog</property>
+ <property name="child">
+ <object class="GtkBox">
+ <property name="orientation">horizontal</property>
+ <style>
+ <class name="linked"/>
+ </style>
<child>
- <object class="GtkEventControllerKey" id="_rename_controller">
- <signal name="key-pressed" handler="_on_rename_entry_key_pressed" swapped="no"/>
+ <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="has_focus">True</property>
+ <property name="receives_default">True</property>
+ <signal name="activate" handler="_on_playlist_renamed" swapped="no"/>
+ <signal name="changed" handler="_on_rename_entry_changed" swapped="no"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton" id="_rename_done_button">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="label" translatable="yes">_Done</property>
+ <property name="use_underline">True</property>
+ <property name="sensitive">True</property>
+ <signal name="clicked" handler="_on_playlist_renamed" swapped="no" />
+ <style>
+ <class name="suggested-action"/>
+ </style>
</object>
</child>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="has_focus">True</property>
- <property name="receives_default">True</property>
- <signal name="activate" handler="_on_playlist_renamed" swapped="no"/>
- <signal name="changed" handler="_on_rename_entry_changed" swapped="no"/>
- </object>
- </child>
- <child>
- <object class="GtkButton" id="_rename_done_button">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="label" translatable="yes">_Done</property>
- <property name="use_underline">True</property>
- <property name="sensitive">True</property>
- <signal name="clicked" handler="_on_playlist_renamed" swapped="no" />
- <style>
- <class name="suggested-action"/>
- </style>
</object>
- </child>
+ </property>
</object>
- <packing>
- <property name="name">renaming_dialog</property>
- </packing>
</child>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]