Commit 80e77382 authored by Rui Matos's avatar Rui Matos
Browse files

region: Dim the icons on IBus input source rows

parent 2b07d810
......@@ -233,6 +233,7 @@ input_source_widget_new (GtkWidget *chooser,
FALSE);
image = gtk_image_new_from_icon_name ("system-run-symbolic", GTK_ICON_SIZE_MENU);
set_row_widget_margins (image);
gtk_style_context_add_class (gtk_widget_get_style_context (image), "dim-label");
gtk_box_pack_start (GTK_BOX (widget), image, FALSE, TRUE, 0);
g_object_set_data_full (G_OBJECT (widget), "name", display_name, g_free);
......
......@@ -652,6 +652,7 @@ add_input_row (CcRegionPanel *self,
gtk_widget_set_margin_right (image, 20);
gtk_widget_set_margin_top (image, 6);
gtk_widget_set_margin_bottom (image, 6);
gtk_style_context_add_class (gtk_widget_get_style_context (image), "dim-label");
gtk_box_pack_start (GTK_BOX (row), image, FALSE, TRUE, 0);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment