diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-09-28 04:39:38 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-09-28 04:39:38 +0000 |
commit | 41c9a97e743d179f2990d47cf19a6a3a6e88a841 (patch) | |
tree | 7ca357e3c3493d86fe80feccb3d166e1c4a6f485 /src/mainwindow.c | |
parent | 9201eff5cf8f1df79d52842b653e0f465bdb850a (diff) |
cleanup trayicon on exit.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1198 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r-- | src/mainwindow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c index 814fbcf5..76a4e7ba 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -1224,8 +1224,8 @@ void main_window_reflect_prefs_all(void) if (prefs_common.show_trayicon) trayicon_show(mainwin->tray_icon); else { - /* trayicon is automatically restored after this */ - trayicon_destroy(mainwin->tray_icon); + /* trayicon is automatically replaced by new one */ + trayicon_hide(mainwin->tray_icon); } } |