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
This commit is contained in:
Exalm 2017-08-23 18:08:47 +05:00 committed by Rui Matos
parent 1e82b65674
commit ded1b10eb1
2 changed files with 6 additions and 7 deletions

View file

@ -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 */

View file

@ -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>