2 * @defgroup pidgin Pidgin (GTK+ User Interface)
7 * Pidgin is the legal property of its developers, whose names are too numerous
8 * to list here. Please refer to the COPYRIGHT file distributed with this
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
25 #ifndef _PIDGINDIALOGS_H_
26 #define _PIDGINDIALOGS_H_
31 #include "conversation.h"
33 /* Functions in gtkdialogs.c (these should actually stay in this file) */
34 void pidgin_dialogs_destroy_all(void);
35 void pidgin_dialogs_about(void);
36 void pidgin_dialogs_buildinfo(void);
37 void pidgin_dialogs_developers(void);
38 void pidgin_dialogs_translators(void);
39 void pidgin_dialogs_plugins_info(void);
40 void pidgin_dialogs_im(void);
41 void pidgin_dialogs_im_with_user(PurpleAccount
*, const char *);
42 void pidgin_dialogs_info(void);
43 void pidgin_dialogs_log(void);
45 #if !(defined PIDGIN_DISABLE_DEPRECATED) || (defined _PIDGIN_GTKDIALOGS_C_)
47 * @deprecated This function is no longer used and will be removed in
48 * Pidgin 3.0.0 unless there is sufficient demand to keep it.
50 void pidgin_dialogs_alias_contact(PurpleContact
*);
53 void pidgin_dialogs_alias_buddy(PurpleBuddy
*);
54 void pidgin_dialogs_alias_chat(PurpleChat
*);
55 void pidgin_dialogs_remove_buddy(PurpleBuddy
*);
56 void pidgin_dialogs_remove_group(PurpleGroup
*);
57 void pidgin_dialogs_remove_chat(PurpleChat
*);
58 void pidgin_dialogs_remove_contact(PurpleContact
*);
59 void pidgin_dialogs_merge_groups(PurpleGroup
*, const char *);
61 /* Everything after this should probably be moved elsewhere */
63 #ifndef PIDGIN_DISABLE_DEPRECATED
64 /* This PIDGIN_DISABLE_DEPRECATED doesn't need to be deactivated by
65 * _PIDGIN_GTKDIALOGS_C_, because it shouldn't be using this macro. */
66 #define PIDGIN_DIALOG(x) x = gtk_window_new(GTK_WINDOW_TOPLEVEL); \
67 gtk_window_set_type_hint(GTK_WINDOW(x), GDK_WINDOW_TYPE_HINT_DIALOG)
70 #define PIDGIN_WINDOW_ICONIFIED(x) (gdk_window_get_state(GTK_WIDGET(x)->window) & GDK_WINDOW_STATE_ICONIFIED)
72 #endif /* _PIDGINDIALOGS_H_ */