src/gtknotify.h

Sun, 13 Jul 2003 18:33:25 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Sun, 13 Jul 2003 18:33:25 +0000
changeset 6109
44e5eb92b617
parent 5437
4bd5c5d271e6
child 6465
bd201d637ff4
permissions
-rw-r--r--

[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).

/**
 * @file gtknotify.h GTK+ Notification API
 * @ingroup gtkui
 *
 * gaim
 *
 * Copyright (C) 2003 Christian Hammond <chipx86@gnupdate.org>
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
#ifndef _GAIM_GTK_NOTIFY_H_
#define _GAIM_GTK_NOTIFY_H_

#include "notify.h"

/**
 * Returns the UI operations structure for GTK+ notification functions.
 *
 * @return The GTK+ UI notify operations structure.
 */
GaimNotifyUiOps *gaim_get_gtk_notify_ui_ops(void);

#endif /* _GAIM_GTK_NOTIFY_H_ */

mercurial