[balsa/gtk3] Fix symbolic icon names



commit 3d6c652eda772711ede83a7a9829904a7d45df44
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Sat Jun 25 15:36:08 2016 -0400

    Fix symbolic icon names
    
        Symbolic icon names like pan-down-symbolic now contain hyphens
        and can no longer use underscores.
    
        * src/balsa-message.c: fix symbolic icon names.

 ChangeLog           |    7 +++++++
 src/balsa-message.c |    4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a496681..81a4f3b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2016-06-25  Peter Bloomfield  <pbloomfield bellsouth net>
 
+       Symbolic icon names like pan-down-symbolic now contain hyphens
+       and can no longer use underscores.
+
+       * src/balsa-message.c: fix symbolic icon names.
+
+2016-06-25  Peter Bloomfield  <pbloomfield bellsouth net>
+
        As of gtksource version 2.21.?, only <gtksourceview/gtksource.h>
        can be included directly.
 
diff --git a/src/balsa-message.c b/src/balsa-message.c
index 4266ed6..7e7eaa9 100644
--- a/src/balsa-message.c
+++ b/src/balsa-message.c
@@ -616,14 +616,14 @@ bm_find_bar_new(BalsaMessage * bm)
     gtk_container_add(GTK_CONTAINER(tool_item), hbox);
     gtk_toolbar_insert(GTK_TOOLBAR(toolbar), tool_item, -1);
 
-    image = gtk_image_new_from_icon_name("pan_up_symbolic", GTK_ICON_SIZE_BUTTON);
+    image = gtk_image_new_from_icon_name("pan-up-symbolic", GTK_ICON_SIZE_BUTTON);
     tool_item = gtk_tool_button_new(image, _("Previous"));
     bm->find_prev = GTK_WIDGET(tool_item);
     gtk_tool_item_set_is_important(tool_item, TRUE);
     g_signal_connect(tool_item, "clicked", G_CALLBACK(bm_find_prev_cb), bm);
     gtk_toolbar_insert(GTK_TOOLBAR(toolbar), tool_item, -1);
 
-    image = gtk_image_new_from_icon_name("pan_down_symbolic", GTK_ICON_SIZE_BUTTON);
+    image = gtk_image_new_from_icon_name("pan-down-symbolic", GTK_ICON_SIZE_BUTTON);
     tool_item = gtk_tool_button_new(image, _("Next"));
     bm->find_next = GTK_WIDGET(tool_item);
     gtk_tool_item_set_is_important(tool_item, TRUE);


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