diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-09-27 07:26:28 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-09-27 07:26:28 +0000 |
commit | 4d4c78f1bf4f6c1ebc2bf5ea1ea0c57fe3255674 (patch) | |
tree | 262b7bc35f3c72c31732e7065b1af3ca98783e16 /src/inc.c | |
parent | 2e9932119fa8e026d15ae67f812181a8e8709371 (diff) |
blink tray icon if new mails arrive.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1193 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/inc.c')
-rw-r--r-- | src/inc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -160,8 +160,10 @@ static void inc_finished(MainWindow *mainwin, gint new_messages) g_snprintf(buf, sizeof(buf), _("Sylpheed: %d new messages"), new_messages); trayicon_set_tooltip(buf); + trayicon_set_notify(TRUE); } else { trayicon_set_tooltip(NULL); + trayicon_set_notify(FALSE); } if (new_messages <= 0 && !prefs_common.scan_all_after_inc) return; |