diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-08-24 10:31:28 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-08-24 10:31:28 +0000 |
commit | 1003322f977add069c7ec91546274ffe22de493e (patch) | |
tree | 4152d6d05ebca4f989292b5bbb9660521b392199 /src/trayicon.h | |
parent | d99c5a9b8032f5290c640bcea7f406326c325c04 (diff) |
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
Diffstat (limited to 'src/trayicon.h')
-rw-r--r-- | src/trayicon.h | 33 |
1 files changed, 33 insertions, 0 deletions
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 <glib.h> +#include <gtk/gtkwidget.h> + +#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__ */ |