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 | |
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
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | ChangeLog.ja | 1 | ||||
-rw-r--r-- | src/inc.c | 2 |
3 files changed, 4 insertions, 0 deletions
@@ -2,6 +2,7 @@ * src/trayicon.[ch]: trayicon_set_notify(): added. It blinks the tray icon for 5 seconds. + * src/inc.c: blink the tray icon when new mails arrive. 2006-09-26 diff --git a/ChangeLog.ja b/ChangeLog.ja index 2898a6f9..f42441d8 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -2,6 +2,7 @@ * src/trayicon.[ch]: trayicon_set_notify(): 追加。トレイアイコンを 5秒間点滅させる。 + * src/inc.c: 新着メールが到着したらトレイアイコンを点滅。 2006-09-26 @@ -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; |