region: Dim the icons on IBus input source rows
This commit is contained in:
parent
2b07d810aa
commit
80e7738210
2 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue