Commit 5d96cb79 authored by Marinus Schraal's avatar Marinus Schraal
Browse files

ui: Remove packing attributes for GTK4

Most GtkBox packing attributes can be removed already.
parent 4139b137
......@@ -41,9 +41,6 @@
<property name="hhomogeneous">False</property>
<property name="vhomogeneous">False</property>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox" id="artistBox">
......@@ -64,9 +61,6 @@
<class name="title-artist"/>
</style>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="_artist_label">
......@@ -80,14 +74,8 @@
<class name="dim-label"/>
</style>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkGrid" id="grid">
......@@ -189,19 +177,10 @@
</packing>
</child>
</object>
<packing>
<property name="position">3</property>
</packing>
</child>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkScrolledWindow" id="scrolledWindow">
......@@ -231,9 +210,6 @@
</object>
</child>
</object>
<packing>
<property name="position">2</property>
</packing>
</child>
</object>
</child>
......
......@@ -22,9 +22,6 @@
<property name="action_name">app.lastfm-configure</property>
<property name="text" translatable="yes">Last.fm Account</property>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox" id="_lastfm_box">
......@@ -49,17 +46,11 @@
</object>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
</object>
<packing>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkModelButton" id="_keyboard_shortcuts_model_button">
......@@ -71,9 +62,6 @@
<property name="action_name">win.show-help-overlay</property>
<property name="text" translatable="yes">_Keyboard Shortcuts</property>
</object>
<packing>
<property name="position">3</property>
</packing>
</child>
<child>
<object class="GtkModelButton" id="_help_model_button">
......@@ -85,9 +73,6 @@
<property name="action_name">app.help</property>
<property name="text" translatable="yes">_Help</property>
</object>
<packing>
<property name="position">4</property>
</packing>
</child>
<child>
<object class="GtkModelButton" id="_about_model_button">
......@@ -99,14 +84,10 @@
<property name="action_name">app.about</property>
<property name="text" translatable="yes">_About Music</property>
</object>
<packing>
<property name="position">5</property>
</packing>
</child>
</object>
<packing>
<property name="submenu">main</property>
<property name="position">1</property>
</packing>
</child>
</template>
......
......@@ -16,9 +16,6 @@
<property name="can_focus">False</property>
<property name="valign">start</property>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox" id="_album_box">
......@@ -44,9 +41,6 @@
</object>
</child>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="DiscListBox" id="_disc_list_box">
......@@ -55,14 +49,8 @@
<property name="selection-mode">0</property>
<!-- <property name="orientation">vertical</property> -->
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</template>
</interface>
......@@ -23,9 +23,6 @@
<class name="disc-label"/>
</style>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkListBox" id="_list_box">
......@@ -37,9 +34,6 @@
<class name="songs-list"/>
</style>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
......
......@@ -26,14 +26,11 @@
<class name="grey-image"/>
</style>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox" id="box">
<property name="orientation">vertical</property>
<property name="visible">True</property>
<property name="visible">True</property>
<child>
<object class="GtkLabel" id="_main_label">
<property name="visible">True</property>
......@@ -45,11 +42,7 @@
<class name="no-music-found-label"/>
<class name="dim-label"/>
</style>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="_information_label">
......@@ -61,14 +54,8 @@
<class name="dim-label"/>
</style>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
......
......@@ -69,9 +69,6 @@
<property name="tooltip_text" translatable="yes">Previous</property>
<signal name="clicked" handler="_on_prev_button_clicked" swapped="no"/>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkButton" id="_play_button">
......@@ -85,9 +82,6 @@
<property name="tooltip_text" translatable="yes">Play</property>
<signal name="clicked" handler="_on_play_button_clicked" swapped="no"/>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkButton" id="_next_button">
......@@ -101,9 +95,6 @@
<property name="tooltip_text" translatable="yes">Next</property>
<signal name="clicked" handler="_on_next_button_clicked" swapped="no"/>
</object>
<packing>
<property name="position">2</property>
</packing>
</child>
<style>
<class name="linked"/>
......@@ -124,9 +115,6 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox" id="nowplaying_labels">
......@@ -150,9 +138,6 @@
<class name="player-title-label"/>
</style>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="_artist_label">
......@@ -168,14 +153,8 @@
<class name="player-artist-label"/>
</style>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
......@@ -207,9 +186,6 @@
<attribute name="font-features" value="tnum=1"/>
</attributes>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="separator">
......@@ -219,9 +195,6 @@
<property name="valign">center</property>
<property name="label">/</property>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="_duration_label">
......@@ -234,9 +207,6 @@
<attribute name="font-features" value="tnum=1"/>
</attributes>
</object>
<packing>
<property name="position">2</property>
</packing>
</child>
</object>
</child>
......@@ -266,9 +236,6 @@
<property name="icon_name">media-playlist-consecutive-symbolic</property>
<property name="icon_size">1</property>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkImage" id="downArrow">
......@@ -277,17 +244,10 @@
<property name="icon_name">pan-down-symbolic</property>
<property name="icon_size">1</property>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
</object>
<packing>
<property name="pack_type">end</property>
<property name="position">0</property>
</packing>
</child>
</object>
</child>
......
......@@ -58,9 +58,6 @@
<class name="grey-image"/>
</style>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label">
......@@ -69,9 +66,6 @@
<property name="label" translatable="yes">Enter a name for your first playlist</property>
<property name="valign">end</property>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkEntry" id="_first_playlist_entry">
......@@ -88,9 +82,6 @@
<signal name="changed" handler="_on_add_playlist_entry_changed" swapped="no"/>
<signal name="focus-in-event" handler="_on_add_playlist_entry_focused" swapped="no"/>
</object>
<packing>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkButton" id="_first_playlist_button">
......@@ -110,22 +101,13 @@
<property name="margin-top">10</property>
<signal name="clicked" handler="_on_editing_done" swapped="no"/>
</object>
<packing>
<property name="position">3</property>
</packing>
</child>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkButtonBox">
<property name="can_focus">False</property>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
......@@ -134,6 +116,22 @@
<property name="visible">False</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkScrolledWindow" id="scrolledwindow">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="vexpand">True</property>
<child>
<object class="GtkListBox" id="_listbox">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="selection_mode">single</property>
<property name="valign">start</property>
<signal name="selected-rows-changed" handler="_on_selected_rows_changed" swapped="no"/>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
......@@ -144,9 +142,6 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox" id="new-playlist-hbox">
......@@ -166,9 +161,6 @@
<class name="linked"/>
</style>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkButton" id="_new_playlist_button">
......@@ -183,17 +175,11 @@
<class name="linked"/>
</style>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<style>
<class name="linked"/>
</style>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
......@@ -201,25 +187,6 @@
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkScrolledWindow" id="scrolledwindow">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="vexpand">True</property>
<child>
<object class="GtkListBox" id="_listbox">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="selection_mode">single</property>
<property name="valign">start</property>
<signal name="selected-rows-changed" handler="_on_selected_rows_changed" swapped="no"/>
</object>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkButtonBox">
<property name="can_focus">False</property>
......@@ -229,14 +196,8 @@
</packing>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
......@@ -274,7 +235,6 @@
</object>
<packing>
<property name="pack_type">end</property>
<property name="position">1</property>
</packing>
</child>
</object>
......
......@@ -30,10 +30,6 @@
<property name="can-focus">False</property>
<property name="label" translatable="yes">Click on items to select them</property>
</object>
<packing>
<property name="pack-type">start</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkImage">
......@@ -41,10 +37,6 @@
<property name="can-focus">False</property>
<property name="icon-name">pan-down-symbolic</property>
</object>
<packing>
<property name="pack-type">start</property>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment