Sun, 13 Jul 2003 18:33:25 +0000
[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).
| 5717 | 1 | /** |
| 2 | * @file gtkconn.h GTK+ Connection API | |
| 3 | * | |
| 4 | * gaim | |
| 5 | * | |
| 6 | * Copyright (C) 2003, Nathan Walp <faceprint@faceprint.com> | |
| 7 | * | |
| 8 | * This program is free software; you can redistribute it and/or modify | |
| 9 | * it under the terms of the GNU General Public License as published by | |
| 10 | * the Free Software Foundation; either version 2 of the License, or | |
| 11 | * (at your option) any later version. | |
| 12 | * | |
| 13 | * This program is distributed in the hope that it will be useful, | |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | * GNU General Public License for more details. | |
| 17 | * | |
| 18 | * You should have received a copy of the GNU General Public License | |
| 19 | * along with this program; if not, write to the Free Software | |
| 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 21 | */ | |
| 22 | ||
| 23 | #ifndef _GAIM_GTKCONN_H_ | |
| 24 | #define _GAIM_GTKCONN_H_ | |
| 25 | ||
| 26 | /**************************************************************************/ | |
| 27 | /** @name GTK+ Connection API */ | |
| 28 | /**************************************************************************/ | |
| 29 | /*@{*/ | |
| 30 | ||
| 31 | /** | |
| 32 | * Gets GTK Connection UI ops | |
| 33 | * | |
| 34 | * @return UI operations struct | |
| 35 | */ | |
| 36 | GaimConnectionUiOps *gaim_get_gtk_connection_ui_ops(void); | |
| 37 | ||
| 38 | /*@}*/ | |
| 39 | ||
| 40 | #endif /* _GAIM_GTKCONN_H_ */ |