[gnome-control-center] printers: Have nicer icon for default printer



commit 22d8f1be600eb1cff579ef583e412eb9e5fa0541
Author: Marek Kasik <mkasik redhat com>
Date:   Wed Jan 16 11:55:30 2013 +0100

    printers: Have nicer icon for default printer
    
    Change icon of default printer from emblem-default-symbolic
    to object-select-symbolic. Make it follow the state of the cell
    in which it is placed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=690444

 panels/printers/cc-printers-panel.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/panels/printers/cc-printers-panel.c b/panels/printers/cc-printers-panel.c
index d3df6c5..fef0a00 100644
--- a/panels/printers/cc-printers-panel.c
+++ b/panels/printers/cc-printers-panel.c
@@ -1167,7 +1167,7 @@ actualize_printers_list (CcPrintersPanel *self)
         }
 
       if (priv->dests[i].is_default)
-        default_icon_name = g_strdup ("emblem-default-symbolic");
+        default_icon_name = g_strdup ("object-select-symbolic");
       else
         default_icon_name = NULL;
 
@@ -1387,6 +1387,7 @@ populate_printers_list (CcPrintersPanel *self)
 
 
   icon_renderer2 = gtk_cell_renderer_pixbuf_new ();
+  g_object_set (G_OBJECT (icon_renderer2), "follow-state", TRUE, NULL);
   column = gtk_tree_view_column_new_with_attributes ("Default", icon_renderer2,
                                                      "icon-name", PRINTER_DEFAULT_ICON_COLUMN, NULL);
   gtk_tree_view_column_set_expand (column, FALSE);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]