src/aim.c

changeset 975
b1557c114193
parent 967
15d43188c33c
child 981
00723c9a507c
equal deleted inserted replaced
974:9991aa832f33 975:b1557c114193
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() {

mercurial