[gnome-dictionary/wip/mcatanzaro/roughedges: 1/3] Symbolic icons



commit 1f42e9b54ff6adeee314cebacc49e79f50fcb8f8
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Sun Jan 17 23:41:40 2016 -0600

    Symbolic icons

 libgdict/gdict-database-chooser.c |    4 ++--
 libgdict/gdict-source-chooser.c   |    2 +-
 libgdict/gdict-strategy-chooser.c |    4 ++--
 src/gdict-sidebar.c               |    2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libgdict/gdict-database-chooser.c b/libgdict/gdict-database-chooser.c
index 6bd8727..ff05e12 100644
--- a/libgdict/gdict-database-chooser.c
+++ b/libgdict/gdict-database-chooser.c
@@ -387,7 +387,7 @@ gdict_database_chooser_constructor (GType                  type,
 
   priv->refresh_button = gtk_button_new ();
   gtk_button_set_image (GTK_BUTTON (priv->refresh_button),
-                       gtk_image_new_from_icon_name ("view-refresh",
+                       gtk_image_new_from_icon_name ("view-refresh-symbolic",
                                                       GTK_ICON_SIZE_SMALL_TOOLBAR));
   g_signal_connect (priv->refresh_button, "clicked",
                    G_CALLBACK (refresh_button_clicked_cb),
@@ -399,7 +399,7 @@ gdict_database_chooser_constructor (GType                  type,
 
   priv->clear_button = gtk_button_new ();
   gtk_button_set_image (GTK_BUTTON (priv->clear_button),
-                       gtk_image_new_from_icon_name ("edit-clear",
+                       gtk_image_new_from_icon_name ("edit-clear-symbolic",
                                                       GTK_ICON_SIZE_SMALL_TOOLBAR));
   g_signal_connect (priv->clear_button, "clicked",
                    G_CALLBACK (clear_button_clicked_cb),
diff --git a/libgdict/gdict-source-chooser.c b/libgdict/gdict-source-chooser.c
index 49beb77..8ec33a2 100644
--- a/libgdict/gdict-source-chooser.c
+++ b/libgdict/gdict-source-chooser.c
@@ -270,7 +270,7 @@ gdict_source_chooser_constructor (GType                  gtype,
 
   priv->refresh_button = gtk_button_new ();
   gtk_button_set_image (GTK_BUTTON (priv->refresh_button),
-                        gtk_image_new_from_icon_name ("view-refresh", GTK_ICON_SIZE_BUTTON));
+                        gtk_image_new_from_icon_name ("view-refresh-symbolic", GTK_ICON_SIZE_BUTTON));
   g_signal_connect (priv->refresh_button,
                     "clicked", G_CALLBACK (refresh_button_clicked_cb),
                     chooser);
diff --git a/libgdict/gdict-strategy-chooser.c b/libgdict/gdict-strategy-chooser.c
index 6110dd3..901ac19 100644
--- a/libgdict/gdict-strategy-chooser.c
+++ b/libgdict/gdict-strategy-chooser.c
@@ -340,7 +340,7 @@ gdict_strategy_chooser_constructor (GType                  type,
 
   priv->refresh_button = gtk_button_new ();
   gtk_button_set_image (GTK_BUTTON (priv->refresh_button),
-                       gtk_image_new_from_icon_name ("view-refresh", GTK_ICON_SIZE_SMALL_TOOLBAR));
+                       gtk_image_new_from_icon_name ("view-refresh-symbolic", GTK_ICON_SIZE_SMALL_TOOLBAR));
   g_signal_connect (priv->refresh_button, "clicked",
                    G_CALLBACK (refresh_button_clicked_cb),
                    chooser);
@@ -351,7 +351,7 @@ gdict_strategy_chooser_constructor (GType                  type,
 
   priv->clear_button = gtk_button_new ();
   gtk_button_set_image (GTK_BUTTON (priv->clear_button),
-                       gtk_image_new_from_icon_name ("edit-clear", GTK_ICON_SIZE_SMALL_TOOLBAR));
+                       gtk_image_new_from_icon_name ("edit-clear-symbolic", GTK_ICON_SIZE_SMALL_TOOLBAR));
   g_signal_connect (priv->clear_button, "clicked",
                    G_CALLBACK (clear_button_clicked_cb),
                    chooser);
diff --git a/src/gdict-sidebar.c b/src/gdict-sidebar.c
index 83c0b80..f0b40c8 100644
--- a/src/gdict-sidebar.c
+++ b/src/gdict-sidebar.c
@@ -368,7 +368,7 @@ gdict_sidebar_init (GdictSidebar *sidebar)
   close_button = gtk_button_new ();
   gtk_button_set_relief (GTK_BUTTON (close_button), GTK_RELIEF_NONE);
   gtk_button_set_image (GTK_BUTTON (close_button),
-                       gtk_image_new_from_icon_name ("window-close", GTK_ICON_SIZE_SMALL_TOOLBAR));
+                       gtk_image_new_from_icon_name ("window-close-symbolic", GTK_ICON_SIZE_SMALL_TOOLBAR));
   g_signal_connect (close_button, "clicked",
                    G_CALLBACK (gdict_sidebar_close_clicked_cb),
                    sidebar);


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