Mercurial > pidgin
comparison plugins/statenotify.c @ 10246:a66cf83552dc
[gaim-migrate @ 11386]
I changed gaim_find_conversation and gaim_find_conversation_with_account
The first parameter is now one of GAIM_CONV_IM, GAIM_CONV_CHAT or
GAIM_CONV_ANY. Unfortunately, this changes a bajillion files.
Please look over this and make sure I use the correct type everywhere.
Especially in Novell and MSN, and somewhat in SILC.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Tue, 23 Nov 2004 06:14:15 +0000 |
| parents | cf45c2a6a7cf |
| children | 17142948653e |
comparison
equal
deleted
inserted
replaced
| 10245:c143a3fac58d | 10246:a66cf83552dc |
|---|---|
| 18 GaimConversation *conv; | 18 GaimConversation *conv; |
| 19 const char *who; | 19 const char *who; |
| 20 char buf[256]; | 20 char buf[256]; |
| 21 char *escaped; | 21 char *escaped; |
| 22 | 22 |
| 23 conv = gaim_find_conversation_with_account(buddy->name, buddy->account); | 23 conv = gaim_find_conversation_with_account(GAIM_CONV_IM, |
| 24 buddy->name, buddy->account); | |
| 24 | 25 |
| 25 if (conv == NULL) | 26 if (conv == NULL) |
| 26 return; | 27 return; |
| 27 | 28 |
| 28 who = gaim_buddy_get_alias(buddy); | 29 who = gaim_buddy_get_alias(buddy); |
| 73 ppref = gaim_plugin_pref_new_with_label(_("Notify When")); | 74 ppref = gaim_plugin_pref_new_with_label(_("Notify When")); |
| 74 gaim_plugin_pref_frame_add(frame, ppref); | 75 gaim_plugin_pref_frame_add(frame, ppref); |
| 75 | 76 |
| 76 ppref = gaim_plugin_pref_new_with_name_and_label("/plugins/core/statenotify/notify_away", _("Buddy Goes _Away")); | 77 ppref = gaim_plugin_pref_new_with_name_and_label("/plugins/core/statenotify/notify_away", _("Buddy Goes _Away")); |
| 77 gaim_plugin_pref_frame_add(frame, ppref); | 78 gaim_plugin_pref_frame_add(frame, ppref); |
| 78 | 79 |
| 79 ppref = gaim_plugin_pref_new_with_name_and_label("/plugins/core/statenotify/notify_idle", _("Buddy Goes _Idle")); | 80 ppref = gaim_plugin_pref_new_with_name_and_label("/plugins/core/statenotify/notify_idle", _("Buddy Goes _Idle")); |
| 80 gaim_plugin_pref_frame_add(frame, ppref); | 81 gaim_plugin_pref_frame_add(frame, ppref); |
| 81 | 82 |
| 82 return frame; | 83 return frame; |
| 83 } | 84 } |
| 84 | 85 |
| 85 static gboolean | 86 static gboolean |
| 86 plugin_load(GaimPlugin *plugin) | 87 plugin_load(GaimPlugin *plugin) |
