/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2002 Hiroyuki Yamamoto
+ * Copyright (C) 2001-2003 Hiroyuki Yamamoto and the Sylpheed-Claws team
*
* 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
*
* 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.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __CUSTOM_TOOLBAR_H__
#define __CUSTOM_TOOLBAR_H__
+#include "gtk/gtkutils.h"
+
#define SEPARATOR_PIXMAP "---"
typedef struct _Toolbar Toolbar;
GtkWidget *get_btn;
GtkWidget *getall_btn;
+ ComboButton *getall_combo;
GtkWidget *send_btn;
GtkWidget *compose_mail_btn;
GtkWidget *compose_news_btn;
GtkWidget *reply_btn;
+ ComboButton *reply_combo;
GtkWidget *replysender_btn;
+ ComboButton *replysender_combo;
GtkWidget *replyall_btn;
+ ComboButton *replyall_combo;
GtkWidget *replylist_btn;
+ ComboButton *replylist_combo;
GtkWidget *fwd_btn;
-
+ ComboButton *fwd_combo;
+
+ GtkWidget *trash_btn;
GtkWidget *delete_btn;
+ GtkWidget *prev_btn;
GtkWidget *next_btn;
GtkWidget *exec_btn;
GtkWidget *separator;
- /* for the reply buttons */
- GtkWidget *reply_popup;
- GtkWidget *replyall_popup;
- GtkWidget *replylist_popup;
- GtkWidget *replysender_popup;
- /* the forward button similar to the reply buttons*/
- GtkWidget *fwd_popup;
-
ComposeButtonType compose_btn_type;
/* compose buttons */
GtkWidget *attach_btn;
GtkWidget *sig_btn;
GtkWidget *exteditor_btn;
- GtkWidget *linewrap_btn;
+ GtkWidget *linewrap_current_btn;
+ GtkWidget *linewrap_all_btn;
GtkWidget *addrbook_btn;
+#ifdef USE_ASPELL
+ GtkWidget *spellcheck_btn;
+#endif
GSList *action_list;
GSList *item_list;
A_REPLY_ALL,
A_REPLY_ML,
A_FORWARD,
- A_DELETE,
+ A_TRASH,
+ A_DELETE_REAL,
A_EXECUTE,
+ A_GOTO_PREV,
A_GOTO_NEXT,
+ A_IGNORE_THREAD,
+ A_PRINT,
/* compose toolbar */
A_SEND,
A_ATTACH,
A_SIG,
A_EXTEDITOR,
- A_LINEWRAP,
+ A_LINEWRAP_CURRENT,
+ A_LINEWRAP_ALL,
A_ADDRBOOK,
+#ifdef USE_ASPELL
+ A_CHECK_SPELLING,
+#endif
/* common items */
A_SYL_ACTIONS,
void delete_msgview_cb (gpointer data,
guint action,
GtkWidget *widget);
-void reply_cb (gpointer data,
- guint action,
- GtkWidget *widget);
void inc_mail_cb (gpointer data,
guint action,
GtkWidget *widget);
guint action);
void toolbar_destroy (Toolbar *toolbar);
void toolbar_init (Toolbar *toolbar);
-
+
#endif /* __CUSTOM_TOOLBAR_H__ */