aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-11-21 09:31:47 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-11-21 09:31:47 +0000
commitce48cec6937f7cab180cabd101586ab0f795c4e2 (patch)
treeb3635490c7a9e5fb6298f2852d2bee2dc8b6fc6c /src/mainwindow.c
parent706387299924733de026545cc7fd99fa15624278 (diff)
disable new mail notification when any message is displayed, marked as read, or trashes are emptied.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1333 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r--src/mainwindow.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 9d2a4edc..cb8c3d92 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -1668,6 +1668,8 @@ void main_window_empty_trash(MainWindow *mainwin, gboolean confirm)
procmsg_empty_all_trash();
statusbar_pop_all();
+ trayicon_set_tooltip(NULL);
+ trayicon_set_notify(FALSE);
for (list = folder_get_list(); list != NULL; list = list->next) {
Folder *folder;