comparison plugins/mailchk.c @ 3060:4f2f12bf4408

[gaim-migrate @ 3074] Code cleanups by Robert McQueen. Michael Golden replaced the multiple per-account signon windows with a single signon window showing the status of all your accounts committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 16 Mar 2002 00:32:53 +0000
parents 61b139b6d6d3
children cd938f18f3f8
comparison
equal deleted inserted replaced
3059:966c4e460ebb 3060:4f2f12bf4408
67 gtk_signal_connect(GTK_OBJECT(mail), "destroy", GTK_SIGNAL_FUNC(maildes), NULL); 67 gtk_signal_connect(GTK_OBJECT(mail), "destroy", GTK_SIGNAL_FUNC(maildes), NULL);
68 gtk_widget_show(mail); 68 gtk_widget_show(mail);
69 } 69 }
70 70
71 if (count & NEW_MAIL) 71 if (count & NEW_MAIL)
72 play_sound(POUNCE_DEFAULT); 72 play_sound(SND_POUNCE_DEFAULT);
73 73
74 if (count & UNREAD_MAIL) 74 if (count & UNREAD_MAIL)
75 gtk_label_set_text(GTK_LABEL(mail), "You have new mail!"); 75 gtk_label_set_text(GTK_LABEL(mail), "You have new mail!");
76 else if (count & ANY_MAIL) 76 else if (count & ANY_MAIL)
77 gtk_label_set_text(GTK_LABEL(mail), "You have mail."); 77 gtk_label_set_text(GTK_LABEL(mail), "You have mail.");