[gnome-control-center] panel-list: Further tweak sidebar classes



commit ded1b10eb110604c947abd345eb3b53cee0a15ac
Author: Exalm <exalm7659 gmail com>
Date:   Wed Aug 23 18:08:47 2017 +0500

    panel-list: Further tweak sidebar classes
    
    Removes sidebar-label class, adds sidebar-icon class to
    Devices and Details arrows
    
    https://bugzilla.gnome.org/show_bug.cgi?id=786612

 shell/cc-panel-list.c |    1 -
 shell/panel-list.ui   |   12 ++++++------
 2 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/shell/cc-panel-list.c b/shell/cc-panel-list.c
index ed94895..9e462ef 100644
--- a/shell/cc-panel-list.c
+++ b/shell/cc-panel-list.c
@@ -194,7 +194,6 @@ row_data_new (CcPanelCategory  category,
                         "xalign", 0.0,
                         "hexpand", TRUE,
                         NULL);
-  gtk_style_context_add_class (gtk_widget_get_style_context (label), "sidebar-label");
   gtk_grid_attach (GTK_GRID (grid), label, 1, 0, 1, 1);
 
   /* Description label */
diff --git a/shell/panel-list.ui b/shell/panel-list.ui
index 1dae0e8..1aa9440 100644
--- a/shell/panel-list.ui
+++ b/shell/panel-list.ui
@@ -45,9 +45,6 @@
                     <property name="hexpand">True</property>
                     <property name="label" translatable="yes">Devices</property>
                     <property name="xalign">0</property>
-                    <style>
-                      <class name="sidebar-label" />
-                    </style>
                   </object>
                   <packing>
                     <property name="expand">False</property>
@@ -60,6 +57,9 @@
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="icon_name">go-next-symbolic</property>
+                    <style>
+                      <class name="sidebar-icon" />
+                    </style>
                   </object>
                   <packing>
                     <property name="expand">False</property>
@@ -104,9 +104,6 @@
                     <property name="hexpand">True</property>
                     <property name="label" translatable="yes">Details</property>
                     <property name="xalign">0</property>
-                    <style>
-                      <class name="sidebar-label" />
-                    </style>
                   </object>
                   <packing>
                     <property name="expand">False</property>
@@ -119,6 +116,9 @@
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="icon_name">go-next-symbolic</property>
+                    <style>
+                      <class name="sidebar-icon" />
+                    </style>
                   </object>
                   <packing>
                     <property name="expand">False</property>


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