Mercurial > pidgin
annotate finch/gntplugin.h @ 29424:2c95b7c57ebb
Fix up the X-Status code in many ways:
* Clean up the descriptions to be consistently of the form, "I am _____."
* Properly mark the descriptions for translation.
* Utilize the files from small smiley theme as much as possible. Through
a Makefile rule, they will be copied from emotes/small/16/ to
emblems/16 at build time and then installed as usual. This is slightly
hackish, but ensures that our icons are consistent and saves manual
copying work and duplication of source files in the repository.
+ As part of this, mobile.png was moved to emotes/small/16, as it is
needed in both places.
* Call these things "Custom Status Icon"s (adding "Status") in the UI.
* Add icqmood0 = shopping, based on testing with ICQ6. Thanks John!!!
* Change the xstatus_crap icon to xstatus_typing to match ICQ 6. The other
typing icon was left alone, except that the name was set to NULL so we
wouldn't get duplicates in the list.
* Change the xstatus_iron (Pro7 TV icon) to xstatus_suit, using the 'person
wearing a suit' icon from N3fr0n to match ICQ6. I named this icon,
somewhat arbitrarily, "At the office".
* The PDA icon is now the same as the hiptop, but hopefully that won't cause
any confusion. Also, the custom icon is now higher priority than the
hiptop icon.
* The music icon is the ("tune") emblem, not the emoticon. This seems more
consistent, given that we're talking about buddy list emblems.
* The "Googling" icon has been renamed to "Searching the web" to avoid the
trademark.
* The "zzz" icon is now an icon for smoking, which seems to fit with the
official client's icon as posted in #4508. Other clients may show a
marijuana leaf. Oh well.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 16 Nov 2008 08:39:34 +0000 |
parents | c38d72677c8a |
children |
rev | line source |
---|---|
15817 | 1 /** |
2 * @file gntplugin.h GNT Plugins API | |
16194
0f0832c13fcb
Rename the Doxygen group from gntui to finch and define the finch group
Richard Laager <rlaager@wiktel.com>
parents:
15870
diff
changeset
|
3 * @ingroup finch |
20074
6bf32c9e15a7
remove gpl boilerplate from doxygen docs
Sean Egan <seanegan@gmail.com>
parents:
19681
diff
changeset
|
4 */ |
6bf32c9e15a7
remove gpl boilerplate from doxygen docs
Sean Egan <seanegan@gmail.com>
parents:
19681
diff
changeset
|
5 |
6bf32c9e15a7
remove gpl boilerplate from doxygen docs
Sean Egan <seanegan@gmail.com>
parents:
19681
diff
changeset
|
6 /* finch |
15817 | 7 * |
15870
66dff3dfdea6
Re-sed the copyright notices so they don't all talk about Purple.
Richard Laager <rlaager@wiktel.com>
parents:
15822
diff
changeset
|
8 * Finch is the legal property of its developers, whose names are too numerous |
15817 | 9 * to list here. Please refer to the COPYRIGHT file distributed with this |
10 * source distribution. | |
11 * | |
12 * This program is free software; you can redistribute it and/or modify | |
13 * it under the terms of the GNU General Public License as published by | |
14 * the Free Software Foundation; either version 2 of the License, or | |
15 * (at your option) any later version. | |
16 * | |
17 * This program is distributed in the hope that it will be useful, | |
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 * GNU General Public License for more details. | |
21 * | |
22 * You should have received a copy of the GNU General Public License | |
23 * along with this program; if not, write to the Free Software | |
19681
44b4e8bd759b
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
16310
diff
changeset
|
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
15817 | 25 */ |
26 #ifndef _GNT_PLUGIN_H | |
27 #define _GNT_PLUGIN_H | |
28 | |
29 #include <gnt.h> | |
30 | |
31 #include <plugin.h> | |
16310
8c89913276b3
Implement the plugin-pref ui using the request api. The preferences for the core plugins can now be modified from Finch. And no new strings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
16194
diff
changeset
|
32 #include <pluginpref.h> |
15817 | 33 |
34 #include <string.h> | |
35 | |
15822 | 36 #include "finch.h" |
15817 | 37 |
38 /********************************************************************** | |
39 * @name GNT Plugins API | |
40 **********************************************************************/ | |
41 /*@{*/ | |
42 | |
22007
c38d72677c8a
Probe for -Wstrict-prototypes to get some more warnings. I then cleaned up
Richard Laager <rlaager@wiktel.com>
parents:
20074
diff
changeset
|
43 typedef GntWidget* (*FinchPluginFrame) (void); |
15817 | 44 |
45 /* Guess where these came from */ | |
15822 | 46 #define FINCH_PLUGIN_TYPE FINCH_UI |
15817 | 47 |
48 /** | |
49 * Decide whether a plugin is a GNT-plugin. | |
50 */ | |
15822 | 51 #define PURPLE_IS_GNT_PLUGIN(plugin) \ |
15817 | 52 ((plugin)->info != NULL && (plugin)->info->ui_info != NULL && \ |
15822 | 53 !strcmp((plugin)->info->ui_requirement, FINCH_PLUGIN_TYPE)) |
15817 | 54 |
55 /** | |
56 * Get the ui-info from GNT-plugins. | |
57 */ | |
15822 | 58 #define FINCH_PLUGIN_UI_INFO(plugin) \ |
15817 | 59 (FinchPluginFrame)((plugin)->info->ui_info) |
60 | |
61 /** | |
62 * Show a list of plugins. | |
63 */ | |
64 void finch_plugins_show_all(void); | |
65 | |
66 /** | |
67 * Save the list of loaded plugins. | |
68 */ | |
69 void finch_plugins_save_loaded(void); | |
70 | |
71 /*@}*/ | |
72 | |
73 #endif |