pidgin: 21cf99f9: Patch from kkszysiu to make the GG prpl ...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Mon Jul 6 11:50:31 EDT 2009


-----------------------------------------------------------------
Revision: 21cf99f9d399c2a1508fe94cec6f9d312f1bb5dd
Ancestor: 0b2802e180d944397afb3a3fd16131e93af300c4
Author: rekkanoryo at pidgin.im
Date: 2009-07-06T15:46:51
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/21cf99f9d399c2a1508fe94cec6f9d312f1bb5dd

Modified files:
        libpurple/protocols/gg/gg.c

ChangeLog: 

Patch from kkszysiu to make the GG prpl support
purple_connection_update_progress.  Fixes #9511.

-------------- next part --------------
============================================================
--- libpurple/protocols/gg/gg.c	8c26c44a12c8bf9b9fe221c42083f84fa3bc4420
+++ libpurple/protocols/gg/gg.c	cb4b050fc724745554f12aae5674ba86dde9e9c8
@@ -1715,9 +1715,10 @@ static void ggp_async_login_handler(gpoi
 				gc->inpa = purple_input_add(info->session->fd,
 							  PURPLE_INPUT_READ,
 							  ggp_callback_recv, gc);
-
+				
+				ggp_buddylist_send(gc);
+				purple_connection_update_progress(gc, _("Connected"), 2, 2);
 				purple_connection_set_state(gc, PURPLE_CONNECTED);
-				ggp_buddylist_send(gc);
 			}
 			break;
 		case GG_EVENT_CONN_FAILED:
@@ -1956,6 +1957,7 @@ static void ggp_login(PurpleAccount *acc
 		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); 			
 	if (info->session == NULL) {
 		purple_connection_error_reason (gc,
 			PURPLE_CONNECTION_ERROR_NETWORK_ERROR,


More information about the Commits mailing list