[gnome-initial-setup] gis-assistant: Use symbolic icons for arrows instead of Unicode glyphs



commit 53588fb6e4a96e6b28266865c84f30864d179d14
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Nov 14 16:15:19 2012 -0500

    gis-assistant: Use symbolic icons for arrows instead of Unicode glyphs

 gnome-initial-setup/gis-assistant.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gnome-initial-setup/gis-assistant.c b/gnome-initial-setup/gis-assistant.c
index 3dd770f..c518f9f 100644
--- a/gnome-initial-setup/gis-assistant.c
+++ b/gnome-initial-setup/gis-assistant.c
@@ -335,8 +335,10 @@ gis_assistant_init (GisAssistant *assistant)
   gtk_box_pack_start (GTK_BOX (priv->main_layout), priv->full_buttons.action_area, FALSE, TRUE, 0);
 
   construct_buttons (assistant, &priv->symbolic_buttons);
-  gtk_button_set_label (GTK_BUTTON (priv->symbolic_buttons.forward), "â");
-  gtk_button_set_label (GTK_BUTTON (priv->symbolic_buttons.back), "â");
+  gtk_button_set_image (GTK_BUTTON (priv->symbolic_buttons.forward),
+                        gtk_image_new_from_icon_name ("go-next-symbolic", GTK_ICON_SIZE_BUTTON));
+  gtk_button_set_image (GTK_BUTTON (priv->symbolic_buttons.back),
+                        gtk_image_new_from_icon_name ("go-previous-symbolic", GTK_ICON_SIZE_BUTTON));
   gtk_box_pack_start (GTK_BOX (priv->main_layout), priv->symbolic_buttons.action_area, FALSE, TRUE, 0);
 
   gtk_widget_show_all (GTK_WIDGET (assistant));



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