Mercurial > pidgin.yaz
annotate src/gtkthemes.h @ 13770:9df4a46b0bb3
[gaim-migrate @ 16182]
SF Patch #1460287 from Jrme Poulin (ticpu), with a bug fix by Sadrul
Currently, with a string like "vnc://ticpu.myftp.org:1/", the "ftp.org:1/"
portion will be linkified as an FTP URL. This patch corrects that.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 12 May 2006 21:50:19 +0000 |
parents | 202ce52b77a9 |
children |
rev | line source |
---|---|
11529 | 1 /** |
11580 | 2 * @file gtkthemes.h GTK+ Smiley Theme API |
3 * @ingroup gtkui | |
11529 | 4 * |
5 * gaim | |
6 * | |
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. | |
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_GTKTHEMES_H_ | |
26 #define _GAIM_GTKTHEMES_H_ | |
27 | |
28 struct smiley_list { | |
29 char *sml; | |
30 GSList *smileys; | |
31 struct smiley_list *next; | |
32 }; | |
33 | |
34 struct smiley_theme { | |
35 char *path; | |
36 char *name; | |
37 char *desc; | |
38 char *icon; | |
39 char *author; | |
40 | |
41 struct smiley_list *list; | |
42 }; | |
43 | |
44 extern struct smiley_theme *current_smiley_theme; | |
45 extern GSList *smiley_themes; | |
46 | |
12497
202ce52b77a9
[gaim-migrate @ 14809]
Richard Laager <rlaager@wiktel.com>
parents:
12323
diff
changeset
|
47 void gaim_gtkthemes_init(void); |
12323
fc464a0abccc
[gaim-migrate @ 14627]
Richard Laager <rlaager@wiktel.com>
parents:
11580
diff
changeset
|
48 gboolean gaim_gtkthemes_smileys_disabled(void); |
12497
202ce52b77a9
[gaim-migrate @ 14809]
Richard Laager <rlaager@wiktel.com>
parents:
12323
diff
changeset
|
49 void gaim_gtkthemes_smiley_themeize(GtkWidget *); |
202ce52b77a9
[gaim-migrate @ 14809]
Richard Laager <rlaager@wiktel.com>
parents:
12323
diff
changeset
|
50 void gaim_gtkthemes_smiley_theme_probe(void); |
202ce52b77a9
[gaim-migrate @ 14809]
Richard Laager <rlaager@wiktel.com>
parents:
12323
diff
changeset
|
51 void gaim_gtkthemes_load_smiley_theme(const char *file, gboolean load); |
202ce52b77a9
[gaim-migrate @ 14809]
Richard Laager <rlaager@wiktel.com>
parents:
12323
diff
changeset
|
52 GSList *gaim_gtkthemes_get_proto_smileys(const char *id); |
11529 | 53 #endif /* _GAIM_GTKDIALOGS_H_ */ |