Tue, 17 Oct 2006 08:13:41 +0000
[gaim-migrate @ 17495]
This should fix the statusbox issues that were keeping us from releasing beta
4 (and which were just really annoying). Thakn sadrul for most of this, I just
added the if (index == -1) bit. Anyway, the way this works now is that for
saved/popular statuses the primitive underlying that status is where the
dropdown for the statusbox starts. If we don't like that we can change it but
I'm not sure we'll find something better.
Also, this might plug a couple leaks, I'm not really sure but it certainly
looks right.
Up next, the patch to make the docklet use the per-protocol statuses in the
top section.
| 11529 | 1 | /** |
|
11580
41ecd9e08031
[gaim-migrate @ 13850]
Mark Doliner <markdoliner@pidgin.im>
parents:
11557
diff
changeset
|
2 | * @file gtkthemes.h GTK+ Smiley Theme API |
|
41ecd9e08031
[gaim-migrate @ 13850]
Mark Doliner <markdoliner@pidgin.im>
parents:
11557
diff
changeset
|
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
a17568773be3
[gaim-migrate @ 14809]
Richard Laager <rlaager@pidgin.im>
parents:
12323
diff
changeset
|
47 | void gaim_gtkthemes_init(void); |
|
12323
f52908fb23b0
[gaim-migrate @ 14627]
Richard Laager <rlaager@pidgin.im>
parents:
11580
diff
changeset
|
48 | gboolean gaim_gtkthemes_smileys_disabled(void); |
|
12497
a17568773be3
[gaim-migrate @ 14809]
Richard Laager <rlaager@pidgin.im>
parents:
12323
diff
changeset
|
49 | void gaim_gtkthemes_smiley_themeize(GtkWidget *); |
|
a17568773be3
[gaim-migrate @ 14809]
Richard Laager <rlaager@pidgin.im>
parents:
12323
diff
changeset
|
50 | void gaim_gtkthemes_smiley_theme_probe(void); |
|
a17568773be3
[gaim-migrate @ 14809]
Richard Laager <rlaager@pidgin.im>
parents:
12323
diff
changeset
|
51 | void gaim_gtkthemes_load_smiley_theme(const char *file, gboolean load); |
|
a17568773be3
[gaim-migrate @ 14809]
Richard Laager <rlaager@pidgin.im>
parents:
12323
diff
changeset
|
52 | GSList *gaim_gtkthemes_get_proto_smileys(const char *id); |
| 11529 | 53 | #endif /* _GAIM_GTKDIALOGS_H_ */ |