[evolution/gnome-3-0] [itip-formatter] stock_animation is gone, use GtkSpinner instead



commit 31238522a16ec4c462e3f377d434bb37f0a5a436
Author: Milan Crha <mcrha redhat com>
Date:   Thu Jun 23 10:52:42 2011 +0200

    [itip-formatter] stock_animation is gone, use GtkSpinner instead

 plugins/itip-formatter/itip-view.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/itip-formatter/itip-view.c b/plugins/itip-formatter/itip-view.c
index 70ae977..305ba74 100644
--- a/plugins/itip-formatter/itip-view.c
+++ b/plugins/itip-formatter/itip-view.c
@@ -744,7 +744,8 @@ set_info_items (GtkWidget *info_box, GSList *info_items)
 			image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_ERROR, GTK_ICON_SIZE_SMALL_TOOLBAR);
 			break;
 		case ITIP_VIEW_INFO_ITEM_TYPE_PROGRESS:
-			image = gtk_image_new_from_icon_name ("stock_animation", GTK_ICON_SIZE_BUTTON);
+			image = gtk_spinner_new ();
+			gtk_spinner_start (GTK_SPINNER (image));
 			break;
 		case ITIP_VIEW_INFO_ITEM_TYPE_NONE:
 		default:



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