panel-list: Update icon and label classes

Set icon class to sidebar-icon, and label class to
sidebar-label. This makes it more consistent with
places sidebar in Nautilus and GtkFileChooser.

https://bugzilla.gnome.org/show_bug.cgi?id=786612
This commit is contained in:
Exalm 2017-08-22 19:03:01 +05:00 committed by Rui Matos
parent 535c5d1fa2
commit b8d1e8a814
2 changed files with 10 additions and 3 deletions

View file

@ -181,7 +181,7 @@ row_data_new (CcPanelCategory category,
/* Icon */
image = gtk_image_new_from_icon_name (icon, GTK_ICON_SIZE_BUTTON);
gtk_style_context_add_class (gtk_widget_get_style_context (image), "dim-label");
gtk_style_context_add_class (gtk_widget_get_style_context (image), "sidebar-icon");
gtk_grid_attach (GTK_GRID (grid), image, 0, 0, 1, 1);
@ -194,6 +194,7 @@ 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 */