comparison plugins/psychic.c @ 13247:c1a75785c8f2

[gaim-migrate @ 15613] When the psycic plugin creates a new conversation window, set the typing status to GAIM_TYPING. Also add which prpls this works with in the description. Does it work for Novell, Sametime or SIMPLE? committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 12 Feb 2006 17:14:23 +0000
parents fd734d1fb2f4
children 465c368366f8
comparison
equal deleted inserted replaced
13246:24ac8fc885b8 13247:c1a75785c8f2
20 20
21 #define PLUGIN_ID "core-psychic" 21 #define PLUGIN_ID "core-psychic"
22 #define PLUGIN_NAME N_("Psychic Mode") 22 #define PLUGIN_NAME N_("Psychic Mode")
23 #define PLUGIN_SUMMARY N_("Psychic mode for incoming conversation") 23 #define PLUGIN_SUMMARY N_("Psychic mode for incoming conversation")
24 #define PLUGIN_DESC N_("Causes conversation windows to appear as other" \ 24 #define PLUGIN_DESC N_("Causes conversation windows to appear as other" \
25 " users begin to message you") 25 " users begin to message you. This works for" \
26 " AIM, ICQ, Jabber, Sametime, and Yahoo!")
26 #define PLUGIN_AUTHOR "Christopher O'Brien <siege@preoccupied.net>" 27 #define PLUGIN_AUTHOR "Christopher O'Brien <siege@preoccupied.net>"
27 28
28 29
29 #define PREFS_BASE "/plugins/core/psychic" 30 #define PREFS_BASE "/plugins/core/psychic"
30 #define PREF_BUDDIES PREFS_BASE "/buddies_only" 31 #define PREF_BUDDIES PREFS_BASE "/buddies_only"
58 gaim_conversation_write(gconv, NULL, 59 gaim_conversation_write(gconv, NULL,
59 _("You feel a disturbance in the force..."), 60 _("You feel a disturbance in the force..."),
60 GAIM_MESSAGE_SYSTEM | GAIM_MESSAGE_NO_LOG, 61 GAIM_MESSAGE_SYSTEM | GAIM_MESSAGE_NO_LOG,
61 time(NULL)); 62 time(NULL));
62 } 63 }
64
65 gaim_conv_im_set_typing_state(GAIM_CONV_IM(gconv), GAIM_TYPING);
63 } 66 }
64 } 67 }
65 68
66 69
67 static GaimPluginPrefFrame * 70 static GaimPluginPrefFrame *