From f4ef5b2fe53d60d2d9bd4ed4f3c0b3f9c7be53bb Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 13 Jan 2006 09:20:58 +0000 Subject: perform show/hide on trayicon click. Implemented popup menu on trayicon. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@896 ee746299-78ed-0310-b773-934348b2243d --- libsylph/prefs_common.c | 4 +++- libsylph/prefs_common.h | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'libsylph') diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c index 963f2d56..ad18467f 100644 --- a/libsylph/prefs_common.c +++ b/libsylph/prefs_common.c @@ -1,6 +1,6 @@ /* * LibSylph -- E-Mail client library - * Copyright (C) 1999-2005 Hiroyuki Yamamoto + * Copyright (C) 1999-2006 Hiroyuki Yamamoto * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -321,6 +321,8 @@ static PrefParam param[] = { {"comply_gnome_hig", "TRUE", &prefs_common.comply_gnome_hig, P_BOOL}, #endif + {"show_trayicon", "TRUE", &prefs_common.show_trayicon, P_BOOL}, + /* Other */ {"receive_dialog_mode", "1", &prefs_common.recv_dialog_mode, P_ENUM}, {"no_receive_error_panel", "FALSE", &prefs_common.no_recv_err_panel, diff --git a/libsylph/prefs_common.h b/libsylph/prefs_common.h index 979ba933..eee87b3a 100644 --- a/libsylph/prefs_common.h +++ b/libsylph/prefs_common.h @@ -1,6 +1,6 @@ /* * LibSylph -- E-Mail client library - * Copyright (C) 1999-2005 Hiroyuki Yamamoto + * Copyright (C) 1999-2006 Hiroyuki Yamamoto * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -220,6 +220,7 @@ struct _PrefsCommon gboolean open_inbox_on_inc; gboolean immediate_exec; gboolean comply_gnome_hig; + gboolean show_trayicon; /* Other */ RecvDialogMode recv_dialog_mode; -- cgit v1.2.3