void modest_ui_actions_on_details (GtkAction *action, ModestWindow *win);
+void modest_ui_actions_on_limit_error (GtkAction *action, ModestWindow *win);
+
gboolean modest_ui_actions_on_edit_mode_move_to (ModestWindow *win);
void modest_ui_actions_on_move_to (GtkAction *action, ModestWindow *win);
**/
void modest_ui_actions_on_csm_help (GtkAction *action, GtkWindow *win);
+#ifndef MODEST_TOOLKIT_HILDON2
/**
* modest_ui_actions_toggle_folders_view:
* @action: the #GtkAction
void modest_ui_actions_on_header_selected (ModestHeaderView *folder_view,
TnyHeader *header,
ModestMainWindow *main_window);
+#endif
void modest_ui_actions_on_header_activated (ModestHeaderView *folder_view,
TnyHeader *header,
GtkTreePath *path,
ModestWindow *main_window);
+#ifndef MODEST_TOOLKIT_HILDON2
void modest_ui_actions_on_folder_selection_changed (ModestFolderView *folder_view,
TnyFolderStore *folder_store,
gboolean selected,
ModestMainWindow *main_window);
+#endif
void modest_ui_actions_on_item_not_found (ModestHeaderView *header_view,
ModestItemType type,
void modest_ui_actions_on_delete_folder (GtkAction *action,
ModestWindow *window);
+#ifndef MODEST_TOOLKIT_HILDON2
void modest_ui_actions_on_move_folder_to_trash_folder (GtkAction *action,
ModestMainWindow *main_window);
+#endif
void modest_ui_actions_on_password_requested (TnyAccountStore *account_store,
const gchar* server_account_name,
void modest_ui_actions_on_fetch_images (GtkAction *action,
ModestWindow *window);
+/**
+ * modest_ui_actions_check_for_active_account:
+ * @win: a #ModestWindow
+ * @account_name: the account name of the account to check
+ *
+ * Check whether any connections are active, and cancel them if
+ * the user wants.
+ *
+ * Returns: Returns TRUE if there was no problem, or if an operation
+ * was cancelled so we can continue. Returns FALSE if the user chose
+ * to cancel his request instead.
+ **/
+gboolean modest_ui_actions_check_for_active_account (ModestWindow *win,
+ const gchar* account_name);
G_END_DECLS
#endif /* __MODEST_UI_ACTIONS_H__ */