Mercurial > pidgin
annotate src/gtkdialogs.h @ 13330:e9cf00a30b49
[gaim-migrate @ 15700]
make sure disconnect messages get send before we disconnect
committer: Tailor Script <tailor@pidgin.im>
| author | Nathan Walp <nwalp@pidgin.im> |
|---|---|
| date | Sun, 26 Feb 2006 20:16:56 +0000 |
| parents | fc464a0abccc |
| children |
| rev | line source |
|---|---|
| 9709 | 1 /** |
| 2 * @defgroup gtkui GTK+ User Interface | |
| 3 * | |
| 4 * gaim | |
| 5 * | |
| 6 * Gaim is the legal property of its developers, whose names are too numerous | |
| 7 * to list here. Please refer to the COPYRIGHT file distributed with this | |
| 8 * source distribution. | |
| 9 * | |
| 10 * This program is free software; you can redistribute it and/or modify | |
| 11 * it under the terms of the GNU General Public License as published by | |
| 12 * the Free Software Foundation; either version 2 of the License, or | |
| 13 * (at your option) any later version. | |
| 14 * | |
| 15 * This program is distributed in the hope that it will be useful, | |
| 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 18 * GNU General Public License for more details. | |
| 19 * | |
| 20 * You should have received a copy of the GNU General Public License | |
| 21 * along with this program; if not, write to the Free Software | |
| 22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 23 */ | |
| 9713 | 24 #ifndef _GAIM_GTKDIALOGS_H_ |
| 25 #define _GAIM_GTKDIALOGS_H_ | |
| 9709 | 26 |
| 9791 | 27 #include "gtkgaim.h" |
| 9718 | 28 |
| 9709 | 29 #include "account.h" |
| 30 #include "conversation.h" | |
| 31 | |
| 9713 | 32 /* Functions in gtkdialogs.c (these should actually stay in this file) */ |
|
12323
fc464a0abccc
[gaim-migrate @ 14627]
Richard Laager <rlaager@wiktel.com>
parents:
12246
diff
changeset
|
33 void gaim_gtkdialogs_destroy_all(void); |
|
fc464a0abccc
[gaim-migrate @ 14627]
Richard Laager <rlaager@wiktel.com>
parents:
12246
diff
changeset
|
34 void gaim_gtkdialogs_about(void); |
|
fc464a0abccc
[gaim-migrate @ 14627]
Richard Laager <rlaager@wiktel.com>
parents:
12246
diff
changeset
|
35 void gaim_gtkdialogs_im(void); |
| 9730 | 36 void gaim_gtkdialogs_im_with_user(GaimAccount *, const char *); |
|
12323
fc464a0abccc
[gaim-migrate @ 14627]
Richard Laager <rlaager@wiktel.com>
parents:
12246
diff
changeset
|
37 void gaim_gtkdialogs_info(void); |
|
fc464a0abccc
[gaim-migrate @ 14627]
Richard Laager <rlaager@wiktel.com>
parents:
12246
diff
changeset
|
38 void gaim_gtkdialogs_log(void); |
| 9730 | 39 void gaim_gtkdialogs_alias_contact(GaimContact *); |
| 40 void gaim_gtkdialogs_alias_buddy(GaimBuddy *); | |
| 41 void gaim_gtkdialogs_alias_chat(GaimChat *); | |
| 9714 | 42 |
| 9730 | 43 void gaim_gtkdialogs_remove_buddy(GaimBuddy *); |
| 44 void gaim_gtkdialogs_remove_group(GaimGroup *); | |
| 45 void gaim_gtkdialogs_remove_chat(GaimChat *); | |
| 46 void gaim_gtkdialogs_remove_contact(GaimContact *); | |
| 9714 | 47 |
| 48 /* Everything after this should probably be moved elsewhere */ | |
| 9713 | 49 |
| 9709 | 50 /** |
| 51 * Our UI's identifier. | |
| 52 */ | |
| 53 #define GAIM_DIALOG(x) x = gtk_window_new(GTK_WINDOW_TOPLEVEL); \ | |
| 54 gtk_window_set_type_hint(GTK_WINDOW(x), GDK_WINDOW_TYPE_HINT_DIALOG) | |
| 55 #define GAIM_WINDOW_ICONIFIED(x) (gdk_window_get_state(GTK_WIDGET(x)->window) & GDK_WINDOW_STATE_ICONIFIED) | |
| 56 | |
| 9713 | 57 #endif /* _GAIM_GTKDIALOGS_H_ */ |
