/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2007 Hiroyuki Yamamoto and the Claws Mail team
+ * Copyright (C) 1999-2011 Hiroyuki Yamamoto and the Claws Mail 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
M_HAVE_PROCESSING = 1 << 21,
M_SUMMARY_ISLIST = 1 << 22,
M_IN_MSGLIST = 1 << 23,
- M_HAVE_MULTI_ACCOUNT = 1 << 24
+ M_HAVE_MULTI_ACCOUNT = 1 << 24,
+ M_FOLDER_SELECTED = 1 << 25,
+ M_SESSION_PASSWORDS = 1 << 26,
+ M_DELETED_EXISTS = 1 << 27,
+ M_NOT_TRASH = 1 << 28,
+ M_HIDE_READ_THREADS = 1 << 29,
+ M_HAVE_RETRIEVABLE_ACCOUNT = 1 << 30,
+ M_HAVE_ANY_RETRIEVABLE_ACCOUNT = 1 << 31
} SensitiveCond;
typedef enum
GtkWidget *vbox;
GtkWidget *menubar;
- GtkItemFactory *menu_factory;
-
/* Toolbar handlebox */
GtkWidget *handlebox;
Toolbar *toolbar;
GtkWidget *warning_btn;
GtkWidget *tags_menu;
+ gboolean in_folder;
+ GtkActionGroup *action_group;
+ GtkUIManager *ui_manager;
+
#ifdef HAVE_LIBSM
gpointer smc_conn;
#endif
- gboolean in_folder;
};
MainWindow *main_window_create (void);
void main_window_progress_on (MainWindow *mainwin);
void main_window_progress_off (MainWindow *mainwin);
+gboolean main_window_empty_trash (MainWindow *mainwin,
+ gboolean confirm,
+ gboolean for_quit);
void main_window_set_menu_sensitive (MainWindow *mainwin);
void mainwindow_maemo_led_set(gboolean state);
#endif
+void mainwin_accel_changed_cb (GtkAccelGroup *accelgroup, guint keyval, GdkModifierType modifier,
+ GClosure *closure, GtkMenuItem *item);
+
#endif /* __MAINWINDOW_H__ */