[gnome-music/wip/jfelder/baseview-must-die] artistview: Remove unneeded GtkBox
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/baseview-must-die] artistview: Remove unneeded GtkBox
- Date: Wed, 27 May 2020 14:00:00 +0000 (UTC)
commit 58a820fd4bd69552044e54460d6ba24435591994
Author: Marinus Schraal <mschraal gnome org>
Date: Wed May 27 15:52:46 2020 +0200
artistview: Remove unneeded GtkBox
data/ui/ArtistsView.ui | 41 ++++++++++++++++++-----------------------
1 file changed, 18 insertions(+), 23 deletions(-)
---
diff --git a/data/ui/ArtistsView.ui b/data/ui/ArtistsView.ui
index 8d8ffed4..cce0e7be 100644
--- a/data/ui/ArtistsView.ui
+++ b/data/ui/ArtistsView.ui
@@ -4,36 +4,31 @@
<template class="ArtistsView" parent="GtkBox">
<property name="visible">True</property>
<child>
- <object class="GtkBox">
+ <object class="GtkScrolledWindow">
<property name="visible">True</property>
+ <property name="width_request">220</property>
+ <style>
+ <class name="sidebar"/>
+ </style>
<child>
- <object class="GtkScrolledWindow">
+ <object class="GtkListBox" id="_sidebar">
+ <property name="selection_mode">single</property>
<property name="visible">True</property>
- <property name="width_request">220</property>
- <style>
- <class name="sidebar"/>
- </style>
- <child>
- <object class="GtkListBox" id="_sidebar">
- <property name="selection_mode">single</property>
- <property name="visible">True</property>
- <signal name="row-activated" handler="_on_artist_activated" swapped="no"/>
- </object>
- </child>
+ <signal name="row-activated" handler="_on_artist_activated" swapped="no"/>
</object>
</child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkScrolledWindow" id="_artist_container">
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="visible">True</property>
<child>
- <object class="GtkScrolledWindow" id="_artist_container">
- <property name="hexpand">True</property>
- <property name="vexpand">True</property>
+ <object class="GtkStack" id="_artist_view">
+ <property name="transition-type">crossfade</property>
+ <property name="vhomogeneous">False</property>
<property name="visible">True</property>
- <child>
- <object class="GtkStack" id="_artist_view">
- <property name="transition-type">crossfade</property>
- <property name="vhomogeneous">False</property>
- <property name="visible">True</property>
- </object>
- </child>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]