[evolution] Bug #631956 - Reset renderer properties in action_combo_box_render_pixbuf



commit de12bb89a800991bd63ce09ae42b04e1f7903198
Author: Milan Crha <mcrha redhat com>
Date:   Tue Oct 26 12:35:32 2010 +0200

    Bug #631956 - Reset renderer properties in action_combo_box_render_pixbuf

 widgets/misc/e-action-combo-box.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/widgets/misc/e-action-combo-box.c b/widgets/misc/e-action-combo-box.c
index 2a3d419..cdf962d 100644
--- a/widgets/misc/e-action-combo-box.c
+++ b/widgets/misc/e-action-combo-box.c
@@ -130,6 +130,7 @@ action_combo_box_render_pixbuf (GtkCellLayout *layout,
 		g_object_set (
 			G_OBJECT (renderer),
 			"sensitive", sensitive,
+			"icon-name", NULL,
 			"stock-id", stock_id,
 			"stock-size", GTK_ICON_SIZE_MENU,
 			"visible", visible,
@@ -138,8 +139,9 @@ action_combo_box_render_pixbuf (GtkCellLayout *layout,
 	else
 		g_object_set (
 			G_OBJECT (renderer),
-			"icon-name", icon_name,
 			"sensitive", sensitive,
+			"icon-name", icon_name,
+			"stock-id", NULL,
 			"stock-size", GTK_ICON_SIZE_MENU,
 			"visible", visible,
 			"width", width,



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