Mercurial > pidgin
changeset 9140:8b1af7cadeb8
[gaim-migrate @ 9924]
Make the connect steps in toc the same as most other prpl's
(start at 0)
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 30 May 2004 21:55:21 +0000 |
parents | 89a1cfea74e5 |
children | e64d5472854b |
files | src/protocols/toc/toc.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/toc/toc.c Sun May 30 21:54:05 2004 +0000 +++ b/src/protocols/toc/toc.c Sun May 30 21:55:21 2004 +0000 @@ -115,7 +115,7 @@ #define USEROPT_AUTH 0 #define USEROPT_AUTHPORT 1 -#define TOC_CONNECT_STEPS 4 +#define TOC_CONNECT_STEPS 3 static void toc_login_callback(gpointer, gint, GaimInputCondition); static void toc_callback(gpointer, gint, GaimInputCondition); @@ -136,7 +136,7 @@ g_snprintf(buf, sizeof buf, _("Looking up %s"), gaim_account_get_string(account, "server", TOC_HOST)); - gaim_connection_update_progress(gc, buf, 1, TOC_CONNECT_STEPS); + gaim_connection_update_progress(gc, buf, 0, TOC_CONNECT_STEPS); gaim_debug(GAIM_DEBUG_INFO, "toc", "Client connects to TOC\n"); if (gaim_proxy_connect(account, @@ -196,7 +196,7 @@ gc->inpa = gaim_input_add(tdt->toc_fd, GAIM_INPUT_READ, toc_callback, gc); g_snprintf(buf, sizeof(buf), _("Signon: %s"), gaim_account_get_username(gc->account)); - gaim_connection_update_progress(gc, buf, 2, TOC_CONNECT_STEPS); + gaim_connection_update_progress(gc, buf, 1, TOC_CONNECT_STEPS); } static void toc_close(GaimConnection *gc) @@ -613,7 +613,7 @@ return; } - gaim_connection_update_progress(gc, _("Waiting for reply..."), 3, TOC_CONNECT_STEPS); + gaim_connection_update_progress(gc, _("Waiting for reply..."), 2, TOC_CONNECT_STEPS); return; }