region: Dim the icons on IBus input source rows

This commit is contained in:
Rui Matos 2013-02-12 15:45:02 +01:00
parent 2b07d810aa
commit 80e7738210
2 changed files with 2 additions and 0 deletions

View file

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

View file

@ -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);
}