Mercurial > pidgin
comparison libpurple/protocols/qq/qq.c @ 23880:1a0caf9983fa
applied changes from 92d52eef2994d2697999177804e3665989cfa352
through 5688199e261449d33b5803dafff50d860896ebcb
Reapplied 5688199e261449d33b5803dafff50d860896ebcb.
2008.09.04 - ccpaging <ccpaging(at)gmail.com>
* minor code cleaned
committer: Daniel Atallah <daniel.atallah@gmail.com>
author | SHiNE CsyFeK <csyfek@gmail.com> |
---|---|
date | Mon, 15 Sep 2008 03:02:06 +0000 |
parents | 23cec4360d4a |
children | 69c218fd5d54 |
comparison
equal
deleted
inserted
replaced
23879:23cec4360d4a | 23880:1a0caf9983fa |
---|---|
229 break; | 229 break; |
230 case QQ_BUDDY_ONLINE_NORMAL: | 230 case QQ_BUDDY_ONLINE_NORMAL: |
231 g_string_append(status, _("Online")); | 231 g_string_append(status, _("Online")); |
232 break; | 232 break; |
233 /* TODO What does this status mean? Labelling it as offline... */ | 233 /* TODO What does this status mean? Labelling it as offline... */ |
234 case QQ_BUDDY_ONLINE_OFFLINE: | 234 case QQ_BUDDY_CHANGE_TO_OFFLINE: |
235 g_string_append(status, _("Offline")); | 235 g_string_append(status, _("Offline")); |
236 break; | 236 break; |
237 case QQ_BUDDY_ONLINE_AWAY: | 237 case QQ_BUDDY_ONLINE_AWAY: |
238 g_string_append(status, _("Away")); | 238 g_string_append(status, _("Away")); |
239 break; | 239 break; |
866 my_protocol = plugin; | 866 my_protocol = plugin; |
867 | 867 |
868 purple_prefs_add_none("/plugins/prpl/qq"); | 868 purple_prefs_add_none("/plugins/prpl/qq"); |
869 purple_prefs_add_bool("/plugins/prpl/qq/show_status_by_icon", TRUE); | 869 purple_prefs_add_bool("/plugins/prpl/qq/show_status_by_icon", TRUE); |
870 purple_prefs_add_bool("/plugins/prpl/qq/show_fake_video", FALSE); | 870 purple_prefs_add_bool("/plugins/prpl/qq/show_fake_video", FALSE); |
871 purple_prefs_add_bool("/plugins/prpl/qq/prompt_group_msg_on_recv", TRUE); | 871 purple_prefs_add_bool("/plugins/prpl/qq/show_room_when_newin", TRUE); |
872 | 872 |
873 } | 873 } |
874 | 874 |
875 PURPLE_INIT_PLUGIN(qq, init_plugin, info); | 875 PURPLE_INIT_PLUGIN(qq, init_plugin, info); |