From 1003322f977add069c7ec91546274ffe22de493e Mon Sep 17 00:00:00 2001 From: hiro Date: Wed, 24 Aug 2005 10:31:28 +0000 Subject: separated trayicon into another module, and notify new messages with trayicon on receive. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@510 ee746299-78ed-0310-b773-934348b2243d --- src/trayicon.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/trayicon.h (limited to 'src/trayicon.h') diff --git a/src/trayicon.h b/src/trayicon.h new file mode 100644 index 00000000..b15c132b --- /dev/null +++ b/src/trayicon.h @@ -0,0 +1,33 @@ +/* + * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client + * Copyright (C) 1999-2005 Hiroyuki Yamamoto + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef __TRAYICON_H__ +#define __TRAYICON_H__ + +#include +#include + +#include "mainwindow.h" +#include "stock_pixmap.h" + +GtkWidget *trayicon_create (MainWindow *mainwin); +void trayicon_set_tooltip (const gchar *text); +void trayicon_set_stock_icon (StockPixmap icon); + +#endif /* __TRAYICON_H__ */ -- cgit v1.2.3