[evolution] Fix EShellSearchbar regression after gtk-stock cleanup



commit 9e28ee3baffa3afc475da07e831ed9c17b44ccc3
Author: Milan Crha <mcrha redhat com>
Date:   Thu Feb 13 17:10:49 2014 +0100

    Fix EShellSearchbar regression after gtk-stock cleanup
    
    There were missing icons on the shell's searchbar entry, due
    to missed property binding on stock-id, instead of icon-name.

 shell/e-shell-searchbar.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/shell/e-shell-searchbar.c b/shell/e-shell-searchbar.c
index 766c529..d00ed7c 100644
--- a/shell/e-shell-searchbar.c
+++ b/shell/e-shell-searchbar.c
@@ -729,8 +729,8 @@ shell_searchbar_constructed (GObject *object)
                widget, "secondary-icon-sensitive",
                G_BINDING_SYNC_CREATE);
        g_object_bind_property (
-               action, "stock-id",
-               widget, "secondary-icon-stock",
+               action, "icon-name",
+               widget, "secondary-icon-name",
                G_BINDING_SYNC_CREATE);
        g_object_bind_property (
                action, "tooltip",
@@ -744,8 +744,8 @@ shell_searchbar_constructed (GObject *object)
                widget, "primary-icon-sensitive",
                G_BINDING_SYNC_CREATE);
        g_object_bind_property (
-               action, "stock-id",
-               widget, "primary-icon-stock",
+               action, "icon-name",
+               widget, "primary-icon-name",
                G_BINDING_SYNC_CREATE);
        g_object_bind_property (
                action, "tooltip",


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