Tue, 13 Jul 2004 03:20:46 +0000
[gaim-migrate @ 10349]
gtk2.4 file chooserifying gtkimhtmltoolbar.c
I decided not to use gaim_request_file() here. There wasn't a lot
of other Gaim code in gtkimhtmltoolbar.c, and I figured it was
easy enough not to add to it. Besides, this dialog should have an
image preview, and to do that you can't use gtknotify.c
(not without modifying gtknotify.c, anyway, but that's out of the
scope of my changes)
| 5032 | 1 | /** |
|
5864
86822afeeab0
[gaim-migrate @ 6295]
Christian Hammond <chipx86@chipx86.com>
parents:
5857
diff
changeset
|
2 | * @file gtkpounce.h GTK+ Buddy Pounce API |
|
5034
077678f7b048
[gaim-migrate @ 5377]
Christian Hammond <chipx86@chipx86.com>
parents:
5032
diff
changeset
|
3 | * @ingroup gtkui |
| 5032 | 4 | * |
| 5 | * gaim | |
| 6 | * | |
| 8046 | 7 | * Gaim 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 | |
| 9 | * source distribution. | |
| 5032 | 10 | * |
| 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. | |
| 15 | * | |
| 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. | |
| 20 | * | |
| 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 24 | */ | |
| 25 | #ifndef _GAIM_GTK_POUNCE_H_ | |
| 26 | #define _GAIM_GTK_POUNCE_H_ | |
| 27 | ||
| 28 | #include "pounce.h" | |
| 29 | ||
| 30 | /** | |
| 31 | * Displays a New Buddy Pounce or Edit Buddy Pounce dialog. | |
| 32 | * | |
|
5907
b2812113a4a6
[gaim-migrate @ 6339]
Christian Hammond <chipx86@chipx86.com>
parents:
5875
diff
changeset
|
33 | * @param account The optional account to use. |
|
b2812113a4a6
[gaim-migrate @ 6339]
Christian Hammond <chipx86@chipx86.com>
parents:
5875
diff
changeset
|
34 | * @param name The optional name to pounce on. |
|
8735
01248ea222d3
[gaim-migrate @ 9490]
Jonathan Champ <royanee@users.sourceforge.net>
parents:
8046
diff
changeset
|
35 | * @param cur_pounce The current buddy pounce, if editing an existing one. |
| 5032 | 36 | */ |
|
5907
b2812113a4a6
[gaim-migrate @ 6339]
Christian Hammond <chipx86@chipx86.com>
parents:
5875
diff
changeset
|
37 | void gaim_gtkpounce_dialog_show(GaimAccount *account, const char *name, |
|
b2812113a4a6
[gaim-migrate @ 6339]
Christian Hammond <chipx86@chipx86.com>
parents:
5875
diff
changeset
|
38 | GaimPounce *cur_pounce); |
| 5032 | 39 | |
| 40 | /** | |
| 41 | * Displays all registered buddy pounces in a menu. | |
| 42 | * | |
| 43 | * @param menu The menu to add to. | |
| 44 | */ | |
| 45 | void gaim_gtkpounce_menu_build(GtkWidget *menu); | |
| 46 | ||
|
5875
493a921c0378
[gaim-migrate @ 6307]
Christian Hammond <chipx86@chipx86.com>
parents:
5864
diff
changeset
|
47 | /** |
|
493a921c0378
[gaim-migrate @ 6307]
Christian Hammond <chipx86@chipx86.com>
parents:
5864
diff
changeset
|
48 | * Initializes the GTK+ pounces subsystem. |
|
493a921c0378
[gaim-migrate @ 6307]
Christian Hammond <chipx86@chipx86.com>
parents:
5864
diff
changeset
|
49 | */ |
|
493a921c0378
[gaim-migrate @ 6307]
Christian Hammond <chipx86@chipx86.com>
parents:
5864
diff
changeset
|
50 | void gaim_gtk_pounces_init(void); |
|
493a921c0378
[gaim-migrate @ 6307]
Christian Hammond <chipx86@chipx86.com>
parents:
5864
diff
changeset
|
51 | |
| 5032 | 52 | #endif /* _GAIM_GTK_POUNCE_H_ */ |