Mercurial > pidgin
view plugins/simple.c @ 5258:4ac135a2f422
[gaim-migrate @ 5630]
Jose' M^(a) Pe'rez Ca'ncer (jm_pc) writes:
" When you are logged in with just protocols that don't
allow chats, selecting Buddies/Add a Chat crashes the app.
This patch will present an error dialog whenever it is
not possible to add a chat because the user is not
connected to any protocol that allows chats.
It will also only allow to select accounts with chat
capabilities in the "Add a Chat" dialog. "
committer: Tailor Script <tailor@pidgin.im>
| author | Luke Schierer <lschiere@pidgin.im> |
|---|---|
| date | Tue, 29 Apr 2003 00:17:36 +0000 |
| parents | 6d1707dc8c3d |
| children | fc0441fbf159 |
line wrap: on
line source
#include "config.h" #include "gaim.h" static gboolean plugin_load(GaimPlugin *plugin) { gaim_debug(GAIM_DEBUG_INFO, "simple", "simple plugin loaded.\n"); return TRUE; } static gboolean plugin_unload(GaimPlugin *plugin) { gaim_debug(GAIM_DEBUG_INFO, "simple", "simple plugin unloaded.\n"); return TRUE; } static GaimPluginInfo info = { 2, /**< api_version */ GAIM_PLUGIN_STANDARD, /**< type */ NULL, /**< ui_requirement */ 0, /**< flags */ NULL, /**< dependencies */ GAIM_PRIORITY_DEFAULT, /**< priority */ NULL, /**< id */ N_("Simple Plugin"), /**< name */ VERSION, /**< version */ /** summary */ N_("Tests to see that most things are working."), /** description */ N_("Tests to see that most things are working."), "Eric Warmenhoven <eric@warmenhoven.org>", /**< author */ WEBSITE, /**< homepage */ plugin_load, /**< load */ plugin_unload, /**< unload */ NULL, /**< destroy */ NULL, /**< ui_info */ NULL /**< extra_info */ }; static void __init_plugin(GaimPlugin *plugin) { } GAIM_INIT_PLUGIN(simple, __init_plugin, info);
