[gnome-music/wip/jfelder/gtk4-v3: 82/112] ui/playlistcontrols: Switch to GtkStackPage
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/gtk4-v3: 82/112] ui/playlistcontrols: Switch to GtkStackPage
- Date: Wed, 2 Feb 2022 23:32:39 +0000 (UTC)
commit b8d0ef47ef6d91b174dccaec895c1ff52ce52a12
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 465f6ac3a..6ae120428 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]