[gnome-music/wip/mschraal/gtk4-pre-squash-backup: 254/254] Set navigation-sidebar styling on sidebars




commit cf891d0674ccb204003518094eccf7d5ce455e9d
Author: Marinus Schraal <mschraal gnome org>
Date:   Tue Feb 15 22:41:36 2022 +0100

    Set navigation-sidebar styling on sidebars

 data/ui/ArtistsView.ui   | 6 +++---
 data/ui/PlaylistsView.ui | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/data/ui/ArtistsView.ui b/data/ui/ArtistsView.ui
index 5d01c08ee..8053288fe 100644
--- a/data/ui/ArtistsView.ui
+++ b/data/ui/ArtistsView.ui
@@ -6,13 +6,13 @@
     <child>
       <object class="GtkScrolledWindow">
         <property name="width_request">220</property>
-        <style>
-          <class name="sidebar"/>
-        </style>
         <child>
           <object class="GtkListView" id="_sidebar">
             <property name="single-click-activate">True</property>
             <signal name="activate" handler="_on_artist_activated" swapped="no"/>
+            <style>
+              <class name="navigation-sidebar"/>
+            </style>
           </object>
         </child>
       </object>
diff --git a/data/ui/PlaylistsView.ui b/data/ui/PlaylistsView.ui
index 402598898..a1ac17fc9 100644
--- a/data/ui/PlaylistsView.ui
+++ b/data/ui/PlaylistsView.ui
@@ -5,9 +5,6 @@
     <child>
       <object class="GtkScrolledWindow">
         <property name="width-request">220</property>
-        <style>
-          <class name="sidebar"/>
-        </style>
         <child>
           <object class="GtkViewport">
             <property name="scroll-to-focus">True</property>
@@ -15,6 +12,9 @@
               <object class="GtkListBox" id="_sidebar">
                 <property name="selection-mode">single</property>
                 <signal name="row-activated" handler="_on_playlist_activated" swapped="no"/>
+                <style>
+                  <class name="navigation-sidebar"/>
+                </style>
               </object>
             </child>
           </object>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]