Mercurial > pidgin.yaz
comparison src/aim.c @ 975:a45991891aba
[gaim-migrate @ 985]
signin mods. still need a better UI, but it's getting there.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 11 Oct 2000 03:56:46 +0000 |
parents | 17ff662183b2 |
children | 7e231bc0018a |
comparison
equal
deleted
inserted
replaced
974:a57fbdc1a758 | 975:a45991891aba |
---|---|
106 | 106 |
107 exit(0); | 107 exit(0); |
108 #endif /* USE_APPLET */ | 108 #endif /* USE_APPLET */ |
109 } | 109 } |
110 | 110 |
111 void set_login_progress(int howfar, char *whattosay) | 111 void hide_login_progress(char *name, char *why) |
112 { | 112 { |
113 /* FIXME: we should do this on a per-connection basis | 113 char buf[2048]; |
114 gtk_progress_bar_update(GTK_PROGRESS_BAR(progress), | 114 sprintf(buf, _("%s was unable to sign on: %s"), name, why); |
115 ((float)howfar / (float)LOGIN_STEPS)); | 115 do_error_dialog(buf, _("Signon Error")); |
116 gtk_statusbar_pop(GTK_STATUSBAR(notice), 1); | |
117 gtk_statusbar_push(GTK_STATUSBAR(notice), 1, whattosay); | |
118 | |
119 while (gtk_events_pending()) | |
120 gtk_main_iteration(); | |
121 */ | |
122 } | |
123 | |
124 void hide_login_progress(char *why) | |
125 { | |
126 /* FIXME: we should do this on a per-connection basis | |
127 gtk_progress_bar_update(GTK_PROGRESS_BAR(progress), | |
128 0); | |
129 gtk_statusbar_pop(GTK_STATUSBAR(notice), 1); | |
130 gtk_statusbar_push(GTK_STATUSBAR(notice), 1, why); | |
131 | |
132 while (gtk_events_pending()) | |
133 gtk_main_iteration(); | |
134 */ | |
135 } | 116 } |
136 | 117 |
137 static int snd_tmout; | 118 static int snd_tmout; |
138 int logins_not_muted = 1; | 119 int logins_not_muted = 1; |
139 static void sound_timeout() { | 120 static void sound_timeout() { |