changeset 15675:9195abe409de

throbber for a connecting icon
author Sean Egan <seanegan@gmail.com>
date Thu, 22 Feb 2007 19:46:47 +0000
parents 0167746ca43e
children 795c05c2f033
files pidgin/gaimstock.c pidgin/gaimstock.h pidgin/gtkstatusbox.c pidgin/gtkstatusbox.h pidgin/pixmaps/animations/16/Makefile.am pidgin/pixmaps/animations/16/connect0.png pidgin/pixmaps/animations/16/connect1.png pidgin/pixmaps/animations/16/connect2.png pidgin/pixmaps/animations/16/connect3.png pidgin/pixmaps/animations/16/connect4.png pidgin/pixmaps/animations/16/connect5.png pidgin/pixmaps/animations/16/connect6.png pidgin/pixmaps/animations/16/connect7.png pidgin/pixmaps/animations/16/connect8.png pidgin/pixmaps/animations/16/connect9.png
diffstat 15 files changed, 27 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gaimstock.c	Thu Feb 22 03:59:35 2007 +0000
+++ b/pidgin/gaimstock.c	Thu Feb 22 19:46:47 2007 +0000
@@ -143,6 +143,11 @@
 	{ PIDGIN_STOCK_ANIMATION_CONNECT1, "animations", "connect1.png",TRUE, FALSE, FALSE, FALSE },
 	{ PIDGIN_STOCK_ANIMATION_CONNECT2, "animations", "connect2.png",TRUE, FALSE, FALSE, FALSE },
 	{ PIDGIN_STOCK_ANIMATION_CONNECT3, "animations", "connect3.png",TRUE, FALSE, FALSE, FALSE },
+	{ PIDGIN_STOCK_ANIMATION_CONNECT4, "animations", "connect4.png",TRUE, FALSE, FALSE, FALSE },
+	{ PIDGIN_STOCK_ANIMATION_CONNECT5, "animations", "connect5.png",TRUE, FALSE, FALSE, FALSE },
+	{ PIDGIN_STOCK_ANIMATION_CONNECT6, "animations", "connect6.png",TRUE, FALSE, FALSE, FALSE },
+	{ PIDGIN_STOCK_ANIMATION_CONNECT7, "animations", "connect7.png",TRUE, FALSE, FALSE, FALSE },
+	{ PIDGIN_STOCK_ANIMATION_CONNECT8, "animations", "connect8.png",TRUE, FALSE, FALSE, FALSE },
 	{ PIDGIN_STOCK_ANIMATION_TYPING0,  "animations", "typing0.png",TRUE, FALSE, FALSE, FALSE },
 	{ PIDGIN_STOCK_ANIMATION_TYPING1,  "animations", "typing1.png",TRUE, FALSE, FALSE, FALSE },
 	{ PIDGIN_STOCK_ANIMATION_TYPING2,  "animations", "typing2.png",TRUE, FALSE, FALSE, FALSE },
--- a/pidgin/gaimstock.h	Thu Feb 22 03:59:35 2007 +0000
+++ b/pidgin/gaimstock.h	Thu Feb 22 19:46:47 2007 +0000
@@ -100,6 +100,11 @@
 #define PIDGIN_STOCK_ANIMATION_CONNECT1 "pidgin-anim-connect1"
 #define PIDGIN_STOCK_ANIMATION_CONNECT2 "pidgin-anim-connect2"
 #define PIDGIN_STOCK_ANIMATION_CONNECT3 "pidgin-anim-connect3"
+#define PIDGIN_STOCK_ANIMATION_CONNECT4 "pidgin-anim-connect4"
+#define PIDGIN_STOCK_ANIMATION_CONNECT5 "pidgin-anim-connect5"
+#define PIDGIN_STOCK_ANIMATION_CONNECT6 "pidgin-anim-connect6"
+#define PIDGIN_STOCK_ANIMATION_CONNECT7 "pidgin-anim-connect7"
+#define PIDGIN_STOCK_ANIMATION_CONNECT8 "pidgin-anim-connect8"
 #define PIDGIN_STOCK_ANIMATION_TYPING0	"pidgin-anim-typing0"
 #define PIDGIN_STOCK_ANIMATION_TYPING1	"pidgin-anim-typing1"
 #define PIDGIN_STOCK_ANIMATION_TYPING2	"pidgin-anim-typing2"
--- a/pidgin/gtkstatusbox.c	Thu Feb 22 03:59:35 2007 +0000
+++ b/pidgin/gtkstatusbox.c	Thu Feb 22 19:46:47 2007 +0000
@@ -1168,6 +1168,16 @@
 								     icon_size, "PidginStatusBox");
 	status_box->connecting_pixbufs[3] = gtk_widget_render_icon (GTK_WIDGET(status_box->vbox), PIDGIN_STOCK_ANIMATION_CONNECT3,
 								     icon_size, "PidginStatusBox");
+	status_box->connecting_pixbufs[4] = gtk_widget_render_icon (GTK_WIDGET(status_box->vbox), PIDGIN_STOCK_ANIMATION_CONNECT4,
+								     icon_size, "PidginStatusBox");
+	status_box->connecting_pixbufs[5] = gtk_widget_render_icon (GTK_WIDGET(status_box->vbox), PIDGIN_STOCK_ANIMATION_CONNECT5,
+								     icon_size, "PidginStatusBox");
+	status_box->connecting_pixbufs[6] = gtk_widget_render_icon (GTK_WIDGET(status_box->vbox), PIDGIN_STOCK_ANIMATION_CONNECT6,
+								     icon_size, "PidginStatusBox");
+	status_box->connecting_pixbufs[7] = gtk_widget_render_icon (GTK_WIDGET(status_box->vbox), PIDGIN_STOCK_ANIMATION_CONNECT7,
+								     icon_size, "PidginStatusBox");
+	status_box->connecting_pixbufs[8] = gtk_widget_render_icon (GTK_WIDGET(status_box->vbox), PIDGIN_STOCK_ANIMATION_CONNECT8,
+								     icon_size, "PidginStatusBox");
 
 	if (status_box->typing_pixbufs[0] != NULL)
 		gdk_pixbuf_unref(status_box->typing_pixbufs[0]);
@@ -2045,7 +2055,7 @@
 {
 	if (!status_box)
 		return;
-	if (status_box->connecting_index == 3)
+	if (status_box->connecting_index == 8)
 		status_box->connecting_index = 0;
 	else
 		status_box->connecting_index++;
--- a/pidgin/gtkstatusbox.h	Thu Feb 22 03:59:35 2007 +0000
+++ b/pidgin/gtkstatusbox.h	Thu Feb 22 19:46:47 2007 +0000
@@ -108,7 +108,7 @@
 
 	GdkPixbuf *error_pixbuf;
 	int connecting_index;
-	GdkPixbuf *connecting_pixbufs[4];
+	GdkPixbuf *connecting_pixbufs[9];
 	int typing_index;
 	GdkPixbuf *typing_pixbufs[6];
 
--- a/pidgin/pixmaps/animations/16/Makefile.am	Thu Feb 22 03:59:35 2007 +0000
+++ b/pidgin/pixmaps/animations/16/Makefile.am	Thu Feb 22 19:46:47 2007 +0000
@@ -2,6 +2,11 @@
 		connect1.png \
 		connect2.png \
 		connect3.png \
+		connect4.png \
+		connect5.png \
+		connect6.png \
+		connect7.png \
+		connect8.png
 		typing0.png \
 		typing1.png \
 		typing2.png \
Binary file pidgin/pixmaps/animations/16/connect0.png has changed
Binary file pidgin/pixmaps/animations/16/connect1.png has changed
Binary file pidgin/pixmaps/animations/16/connect2.png has changed
Binary file pidgin/pixmaps/animations/16/connect3.png has changed
Binary file pidgin/pixmaps/animations/16/connect4.png has changed
Binary file pidgin/pixmaps/animations/16/connect5.png has changed
Binary file pidgin/pixmaps/animations/16/connect6.png has changed
Binary file pidgin/pixmaps/animations/16/connect7.png has changed
Binary file pidgin/pixmaps/animations/16/connect8.png has changed
Binary file pidgin/pixmaps/animations/16/connect9.png has changed