Mercurial > pidgin
comparison src/server.c @ 3524:6f9610016503
[gaim-migrate @ 3597]
If I didn't do this, if you turned queuing on in the docklet, and then
unloaded the docklet--you'd never get IMs ever again.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 16 Sep 2002 20:42:17 +0000 |
parents | 82180bb28f1f |
children | b791019b2492 |
comparison
equal
deleted
inserted
replaced
3523:82180bb28f1f | 3524:6f9610016503 |
---|---|
689 * it (if it does exist it was updated earlier), then play a sound indicating we've | 689 * it (if it does exist it was updated earlier), then play a sound indicating we've |
690 * received it and then display it. easy. */ | 690 * received it and then display it. easy. */ |
691 | 691 |
692 if (new_conv && (sound_options & OPT_SOUND_FIRST_RCV)) | 692 if (new_conv && (sound_options & OPT_SOUND_FIRST_RCV)) |
693 play_sound(SND_FIRST_RECEIVE); | 693 play_sound(SND_FIRST_RECEIVE); |
694 else if (cnv && cnv->makesound) | 694 else if (new_conv || cnv->makesound) |
695 play_sound(SND_RECEIVE); | 695 play_sound(SND_RECEIVE); |
696 | 696 |
697 if (away_options & OPT_AWAY_QUEUE_UNREAD && !find_conversation(name)) { | 697 if (away_options & OPT_AWAY_QUEUE_UNREAD && !find_conversation(name) && docklet_count) { |
698 /* We're gonna queue it up and wait for the user to ask for it... probably | 698 /* We're gonna queue it up and wait for the user to ask for it... probably |
699 * by clicking the docklet or windows tray icon. */ | 699 * by clicking the docklet or windows tray icon. */ |
700 struct queued_message *qm; | 700 struct queued_message *qm; |
701 qm = g_new0(struct queued_message, 1); | 701 qm = g_new0(struct queued_message, 1); |
702 g_snprintf(qm->name, sizeof(qm->name), "%s", name); | 702 g_snprintf(qm->name, sizeof(qm->name), "%s", name); |