[gnome-control-center/wip/region-panel: 42/42] region: Dim the icons on IBus input source rows



commit 80f68916c0d16d85cf382415e79d3879fc42862d
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 7a88436..035d455 100644
--- a/panels/region/cc-input-chooser.c
+++ b/panels/region/cc-input-chooser.c
@@ -234,6 +234,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 6397c39..c09ea5a 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]