[gnome-control-center/wip/region-panel: 39/43] region: Dim the icons on IBus input source rows
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/region-panel: 39/43] region: Dim the icons on IBus input source rows
- Date: Sun, 17 Feb 2013 00:33:15 +0000 (UTC)
commit 3d89b1368f5e662d2ef46a2f05ce562e0065396a
Author: Rui Matos <tiagomatos gmail com>
Date: Tue Feb 12 15:45:02 2013 +0100
region: Dim the icons on IBus input source rows
panels/region/cc-input-chooser.c | 1 +
panels/region/cc-region-panel.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/region/cc-input-chooser.c b/panels/region/cc-input-chooser.c
index ef57d61..aea2732 100644
--- a/panels/region/cc-input-chooser.c
+++ b/panels/region/cc-input-chooser.c
@@ -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);
diff --git a/panels/region/cc-region-panel.c b/panels/region/cc-region-panel.c
index 55e525e..dbcb45e 100644
--- a/panels/region/cc-region-panel.c
+++ b/panels/region/cc-region-panel.c
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]