[gnome-control-center] Register a symbolic icon size for icons in sidebar lists



commit 2219fc116ce62e002cc9ee04c36f9f58de6bc746
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri May 20 12:28:27 2011 -0400

    Register a symbolic icon size for icons in sidebar lists
    
    That way, we can use 24, but still remain (at least theoretically)
    themable for the benefit of large-print a11y themes.

 shell/control-center.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/shell/control-center.c b/shell/control-center.c
index f4d4c8a..423219d 100644
--- a/shell/control-center.c
+++ b/shell/control-center.c
@@ -168,6 +168,9 @@ main (int argc, char **argv)
   gtk_init (&argc, &argv);
   cc_shell_log_init ();
 
+  /* register a symbolic icon size for use in sidebar lists */
+  gtk_icon_size_register ("cc-sidebar-list", 24, 24);
+
   shell = gnome_control_center_new ();
 
   /* enforce single instance of this application */



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