comparison src/connection.h @ 6109:0922bb7a7bbc

[gaim-migrate @ 6571] Make attempting to sign on to an account twice not crash Gaim, and make the prompt for password request window only open once at max. I might change this in a few minutes, but this works, and I wanted to commit it before I break something. Move the gaim_request_input() call for "Please enter your password" to connection.c instead of gtkconn.c. There is no need for this to be in gtkconn.c, and doing it in core means less work for UIs. Make closing a notify window call the cancel action. Set the titles for request windows, when given. Remove a bit of odd, un-needed code from main.c (hitting "enter" in the password field was calling doenter which called dologin. Now it just calls dologin). committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 13 Jul 2003 18:33:25 +0000
parents 158196b2db19
children 74ca311ceb2a
comparison
equal deleted inserted replaced
6108:edbd278822a0 6109:0922bb7a7bbc
46 typedef struct 46 typedef struct
47 { 47 {
48 void (*connect_progress)(GaimConnection *gc, const char *text, 48 void (*connect_progress)(GaimConnection *gc, const char *text,
49 size_t step, size_t step_count); 49 size_t step, size_t step_count);
50 void (*connected)(GaimConnection *gc); 50 void (*connected)(GaimConnection *gc);
51 void (*request_pass)(GaimConnection *gc);
52 void (*disconnected)(GaimConnection *gc, const char *reason); 51 void (*disconnected)(GaimConnection *gc, const char *reason);
53 void (*notice)(GaimConnection *gc, const char *text); 52 void (*notice)(GaimConnection *gc, const char *text);
54 53
55 } GaimConnectionUiOps; 54 } GaimConnectionUiOps;
56 55