changeset 29868:fb6312881d56

gg: Fix misuse of update_progress. Fixes #11774 committer: Paul Aurich <paul@darkrain42.org>
author kkszysiu@gmail.com
date Sun, 02 May 2010 21:27:42 +0000
parents 944718b57a66
children 95ab863d580f
files libpurple/protocols/gg/gg.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/gg/gg.c	Sun May 02 09:17:57 2010 +0000
+++ b/libpurple/protocols/gg/gg.c	Sun May 02 21:27:42 2010 +0000
@@ -1731,7 +1731,7 @@
 							  ggp_callback_recv, gc);
 				
 				ggp_buddylist_send(gc);
-				purple_connection_update_progress(gc, _("Connected"), 2, 2);
+				purple_connection_update_progress(gc, _("Connected"), 1, 2);
 				purple_connection_set_state(gc, PURPLE_CONNECTED);
 			}
 			break;
@@ -1984,7 +1984,7 @@
 		purple_debug_info("gg", "Trying to retrieve address from gg appmsg service\n");
 
 	info->session = gg_login(glp);
-	purple_connection_update_progress(gc, _("Connecting"), 1, 2); 			
+	purple_connection_update_progress(gc, _("Connecting"), 0, 2); 			
 	if (info->session == NULL) {
 		purple_connection_error_reason (gc,
 			PURPLE_CONNECTION_ERROR_NETWORK_ERROR,