Mercurial > pidgin.yaz
annotate pidgin/plugins/pidgininc.c @ 23155:7dccb11c5f1d
Put the 'manage' button outside the scrolling area.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 16 May 2008 00:55:53 +0000 |
parents | 3cc856ca2338 |
children | a439f24713c8 eebd46227f50 |
rev | line source |
---|---|
16140
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
1 #include "internal.h" |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
2 #include "plugin.h" |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
3 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
4 #include "account.h" |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
5 #include "connection.h" |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
6 #include "conversation.h" |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
7 #include "version.h" |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
8 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
9 /* include UI for pidgindialogs_about() */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
10 #include "gtkplugin.h" |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
11 #include "gtkdialogs.h" |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
12 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
13 #define PURPLEINC_PLUGIN_ID "core-purpleinc" |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
14 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
15 static void |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
16 echo_hi(PurpleConnection *gc) |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
17 { |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
18 /* this doesn't do much, just lets you know who we are :) */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
19 pidgindialogs_about(); |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
20 } |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
21 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
22 static gboolean |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
23 reverse(PurpleAccount *account, char **who, char **message, |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
24 PurpleConversation *conv, int *flags) |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
25 { |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
26 /* this will drive you insane. whenever you receive a message, |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
27 * the text of the message (HTML and all) will be reversed. */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
28 int i, l; |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
29 char tmp; |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
30 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
31 /* this check is necessary in case bad plugins do bad things */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
32 if (message == NULL || *message == NULL) |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
33 return FALSE; |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
34 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
35 l = strlen(*message); |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
36 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
37 if (!strcmp(*who, purple_account_get_username(account))) |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
38 return FALSE; |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
39 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
40 for (i = 0; i < l/2; i++) { |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
41 tmp = (*message)[i]; |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
42 (*message)[i] = (*message)[l - i - 1]; |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
43 (*message)[l - i - 1] = tmp; |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
44 } |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
45 return FALSE; |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
46 } |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
47 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
48 static void |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
49 bud(PurpleBuddy *who) |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
50 { |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
51 PurpleAccount *acct = who->account; |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
52 PurpleConversation *conv = purple_conversation_new(PURPLE_CONV_TYPE_IM, acct, who->name); |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
53 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
54 purple_conv_im_send(PURPLE_CONV_IM(conv), "Hello!"); |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
55 } |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
56 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
57 /* |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
58 * EXPORTED FUNCTIONS |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
59 */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
60 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
61 static gboolean |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
62 plugin_load(PurplePlugin *plugin) |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
63 { |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
64 /* this is for doing something fun when we sign on */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
65 purple_signal_connect(purple_connections_get_handle(), "signed-on", |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
66 plugin, PURPLE_CALLBACK(echo_hi), NULL); |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
67 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
68 /* this is for doing something fun when we get a message */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
69 purple_signal_connect(purple_conversations_get_handle(), "receiving-im-msg", |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
70 plugin, PURPLE_CALLBACK(reverse), NULL); |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
71 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
72 /* this is for doing something fun when a buddy comes online */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
73 purple_signal_connect(purple_blist_get_handle(), "buddy-signed-on", |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
74 plugin, PURPLE_CALLBACK(bud), NULL); |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
75 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
76 return TRUE; |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
77 } |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
78 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
79 static PurplePluginInfo info = |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
80 { |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
81 PURPLE_PLUGIN_MAGIC, |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
82 PURPLE_MAJOR_VERSION, |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
83 PURPLE_MINOR_VERSION, |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
84 PURPLE_PLUGIN_STANDARD, /**< type */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
85 NULL, /**< ui_requirement */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
86 0, /**< flags */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
87 NULL, /**< dependencies */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
88 PURPLE_PRIORITY_DEFAULT, /**< priority */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
89 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
90 PURPLEINC_PLUGIN_ID, /**< id */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
91 N_("Pidgin Demonstration Plugin"), /**< name */ |
21030
3cc856ca2338
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <stu@nosnilmot.com>
parents:
16140
diff
changeset
|
92 DISPLAY_VERSION, /**< version */ |
16140
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
93 /** summary */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
94 N_("An example plugin that does stuff - see the description."), |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
95 /** description */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
96 N_("This is a really cool plugin that does a lot of stuff:\n" |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
97 "- It tells you who wrote the program when you log in\n" |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
98 "- It reverses all incoming text\n" |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
99 "- It sends a message to people on your list immediately" |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
100 " when they sign on"), |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
101 "Eric Warmenhoven <eric@warmenhoven.org>", /**< author */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
102 PURPLE_WEBSITE, /**< homepage */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
103 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
104 plugin_load, /**< load */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
105 NULL, /**< unload */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
106 NULL, /**< destroy */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
107 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
108 NULL, /**< ui_info */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
109 NULL, /**< extra_info */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
110 NULL, /**< prefs_info */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
111 NULL /**< actions */ |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
112 }; |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
113 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
114 static void |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
115 init_plugin(PurplePlugin *plugin) |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
116 { |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
117 } |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
118 |
787961f1007e
Rename pidgin/plugins/gaiminc.c to pidgin/plugins/pidgininc.c
Richard Laager <rlaager@wiktel.com>
parents:
diff
changeset
|
119 PURPLE_INIT_PLUGIN(purpleinc, init_plugin, info) |