Mercurial > pidgin
comparison src/server.c @ 5573:5e7de337a053
[gaim-migrate @ 5976]
Account saving and loading _mostly_ works.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Fri, 30 May 2003 23:57:11 +0000 |
| parents | 9eb5b13fd412 |
| children | 3a9b54f260e3 |
comparison
equal
deleted
inserted
replaced
| 5572:dfdea22a7153 | 5573:5e7de337a053 |
|---|---|
| 855 * away without the imaway dialog being shown. So in order for | 855 * away without the imaway dialog being shown. So in order for |
| 856 * this to be queued properly, we have to make sure that the | 856 * this to be queued properly, we have to make sure that the |
| 857 * imaway dialog actually exists, first. | 857 * imaway dialog actually exists, first. |
| 858 */ | 858 */ |
| 859 if (!cnv && awayqueue && | 859 if (!cnv && awayqueue && |
| 860 gaim_prefs_get_bool("/core/away/queue_messages")) { | 860 gaim_prefs_get_bool("/gaim/gtk/away/queue_messages")) { |
| 861 /* | 861 /* |
| 862 * Alright, so we're going to queue it. Neat, eh? :) | 862 * Alright, so we're going to queue it. Neat, eh? :) |
| 863 * So first we create something to store the message, and add | 863 * So first we create something to store the message, and add |
| 864 * it to our queue. Then we update the away dialog to indicate | 864 * it to our queue. Then we update the away dialog to indicate |
| 865 * that we've queued something. | 865 * that we've queued something. |
| 961 | 961 |
| 962 /* apply default fonts and colors */ | 962 /* apply default fonts and colors */ |
| 963 tmpmsg = stylize(gc->away, MSG_LEN); | 963 tmpmsg = stylize(gc->away, MSG_LEN); |
| 964 serv_send_im(gc, name, away_subs(tmpmsg, alias), -1, IM_FLAG_AWAY); | 964 serv_send_im(gc, name, away_subs(tmpmsg, alias), -1, IM_FLAG_AWAY); |
| 965 if (!cnv && awayqueue && | 965 if (!cnv && awayqueue && |
| 966 gaim_prefs_get_bool("/core/away/queue_messages")) { | 966 gaim_prefs_get_bool("/gaim/gtk/away/queue_messages")) { |
| 967 | 967 |
| 968 struct queued_message *qm; | 968 struct queued_message *qm; |
| 969 | 969 |
| 970 qm = g_new0(struct queued_message, 1); | 970 qm = g_new0(struct queued_message, 1); |
| 971 g_snprintf(qm->name, sizeof(qm->name), "%s", name); | 971 g_snprintf(qm->name, sizeof(qm->name), "%s", name); |
| 990 | 990 |
| 991 /* XXX UGLY HACK OF THE YEAR | 991 /* XXX UGLY HACK OF THE YEAR |
| 992 * Robot101 will fix this after his exams. honest. | 992 * Robot101 will fix this after his exams. honest. |
| 993 */ | 993 */ |
| 994 if (docklet_count && | 994 if (docklet_count && |
| 995 gaim_prefs_get_bool("/plugins/gtk/docklet/queue_unread") && | 995 gaim_prefs_get_bool("/plugins/gtk/docklet/queue_messages") && |
| 996 !gaim_find_conversation(name)) { | 996 !gaim_find_conversation(name)) { |
| 997 /* | 997 /* |
| 998 * We're gonna queue it up and wait for the user to ask for | 998 * We're gonna queue it up and wait for the user to ask for |
| 999 * it... probably by clicking the docklet or windows tray icon. | 999 * it... probably by clicking the docklet or windows tray icon. |
| 1000 */ | 1000 */ |
