Mercurial > pidgin
comparison plugins/psychic.c @ 12895:a355472257f4
[gaim-migrate @ 15248]
Rework the buddy list only pref slightly and make the conversation notice a system message.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 16 Jan 2006 20:31:20 +0000 |
parents | 6cc43e23ad36 |
children | e841e23a334c |
comparison
equal
deleted
inserted
replaced
12894:7dc00a9dfba5 | 12895:a355472257f4 |
---|---|
47 gaim_conversation_present(gconv); | 47 gaim_conversation_present(gconv); |
48 | 48 |
49 if(gaim_prefs_get_bool(PREF_NOTICE)) { | 49 if(gaim_prefs_get_bool(PREF_NOTICE)) { |
50 gaim_conversation_write(gconv, NULL, | 50 gaim_conversation_write(gconv, NULL, |
51 _("You feel a disturbance in the force..."), | 51 _("You feel a disturbance in the force..."), |
52 GAIM_MESSAGE_NO_LOG, time(NULL)); | 52 GAIM_MESSAGE_SYSTEM | GAIM_MESSAGE_NO_LOG, |
53 time(NULL)); | |
53 } | 54 } |
54 } | 55 } |
55 } | 56 } |
56 | 57 |
57 | 58 |
62 GaimPluginPref *pref; | 63 GaimPluginPref *pref; |
63 | 64 |
64 frame = gaim_plugin_pref_frame_new(); | 65 frame = gaim_plugin_pref_frame_new(); |
65 | 66 |
66 pref = gaim_plugin_pref_new_with_name(PREF_BUDDIES); | 67 pref = gaim_plugin_pref_new_with_name(PREF_BUDDIES); |
67 gaim_plugin_pref_set_label(pref, _("Only enable for users in buddy list")); | 68 gaim_plugin_pref_set_label(pref, _("Only enable for users on the buddy list")); |
68 gaim_plugin_pref_frame_add(frame, pref); | 69 gaim_plugin_pref_frame_add(frame, pref); |
69 | 70 |
70 pref = gaim_plugin_pref_new_with_name(PREF_NOTICE); | 71 pref = gaim_plugin_pref_new_with_name(PREF_NOTICE); |
71 gaim_plugin_pref_set_label(pref, _("Display notification message in" | 72 gaim_plugin_pref_set_label(pref, _("Display notification message in" |
72 " conversations")); | 73 " conversations")); |