X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-ui-actions.h;h=cd5c1d226e166f7c7b9391f5d927224aa02f3eaa;hp=73c047d140859dd55aa0111666167ab2e57b8430;hb=24c7fbfe1ce5156e490df32274b72fba1ad39a16;hpb=d63928ac97a5b376374d8bdf1e280954635d33e4 diff --git a/src/modest-ui-actions.h b/src/modest-ui-actions.h index 73c047d..cd5c1d2 100644 --- a/src/modest-ui-actions.h +++ b/src/modest-ui-actions.h @@ -32,33 +32,38 @@ #include #include +#include G_BEGIN_DECLS /* Menu & toolbar actions */ -void modest_ui_actions_on_about (GtkWidget *widget, ModestWindow *win); +void modest_ui_actions_on_about (GtkAction *action, ModestWindow *win); -void modest_ui_actions_on_delete (GtkWidget *widget, ModestWindow *win); +void modest_ui_actions_on_delete (GtkAction *action, ModestWindow *win); -void modest_ui_actions_on_quit (GtkWidget *widget, ModestWindow *win); +void modest_ui_actions_on_quit (GtkAction *action, ModestWindow *win); -void modest_ui_actions_on_accounts (GtkWidget *widget, ModestWindow *win); +void modest_ui_actions_on_new_account (GtkAction *action, ModestWindow *win); -void modest_ui_actions_on_new_msg (GtkWidget *widget, ModestWindow *win); +void modest_ui_actions_on_accounts (GtkAction *action, ModestWindow *win); -void modest_ui_actions_on_open (GtkWidget *widget, ModestWindow *win); +void modest_ui_actions_on_add_to_contacts (GtkAction *action, ModestWindow *win); -void modest_ui_actions_on_reply (GtkWidget *widget, ModestWindow *win); +void modest_ui_actions_on_new_msg (GtkAction *action, ModestWindow *win); -void modest_ui_actions_on_forward (GtkWidget *widget, ModestWindow *win); +void modest_ui_actions_on_open (GtkAction *action, ModestWindow *win); -void modest_ui_actions_on_reply_all (GtkWidget *widget, ModestWindow *win); +void modest_ui_actions_on_reply (GtkAction *action, ModestWindow *win); -void modest_ui_actions_on_next (GtkWidget *widget, ModestMainWindow *main_window); +void modest_ui_actions_on_forward (GtkAction *action, ModestWindow *win); -void modest_ui_actions_on_prev (GtkWidget *widget, ModestMainWindow *main_window); +void modest_ui_actions_on_reply_all (GtkAction *action, ModestWindow *win); -void modest_ui_actions_toggle_view (GtkWidget *widget, ModestMainWindow *main_window); +void modest_ui_actions_on_next (GtkAction *action, ModestMainWindow *main_window); + +void modest_ui_actions_on_prev (GtkAction *action, ModestMainWindow *main_window); + +void modest_ui_actions_toggle_view (GtkAction *action, ModestMainWindow *main_window); /* Widget actions */ void modest_ui_actions_on_header_selected (ModestHeaderView *folder_view, @@ -80,52 +85,73 @@ void modest_ui_actions_on_item_not_found (ModestHeaderView *header ModestItemType type, ModestWindow *window); -void modest_ui_actions_on_header_status_update (ModestHeaderView *header_view, - const gchar *msg, - gint num, - gint total, - ModestMainWindow *main_window); - void modest_ui_actions_on_msg_link_hover (ModestMsgView *msgview, const gchar* link, ModestWindow *win); void modest_ui_actions_on_msg_link_clicked (ModestMsgView *msgview, const gchar* link, ModestWindow *win); -void modest_ui_actions_on_msg_attachment_clicked (ModestMsgView *msgview, int index, +void modest_ui_actions_on_msg_attachment_clicked (ModestMsgView *msgview, TnyMimePart *mime_part, ModestWindow *win); +void modest_ui_actions_on_msg_recpt_activated (ModestMsgView *msgview, const gchar *address, + ModestWindow *win); + void modest_ui_actions_on_send (GtkWidget *widget, ModestMsgEditWindow *edit_window); -void modest_ui_actions_on_send_receive (GtkWidget *widget, ModestWindow *win); +void modest_ui_actions_on_toggle_bold (GtkToggleAction *action, + ModestMsgEditWindow *window); -void modest_ui_actions_on_new_folder (GtkWidget *widget, - ModestMainWindow *main_window); +void modest_ui_actions_on_toggle_italics (GtkToggleAction *action, + ModestMsgEditWindow *window); -void modest_ui_actions_on_rename_folder (GtkWidget *widget, - ModestMainWindow *main_window); +void modest_ui_actions_on_toggle_bullets (GtkToggleAction *action, + ModestMsgEditWindow *window); + +void modest_ui_actions_on_change_justify (GtkRadioAction *action, + GtkRadioAction *selected, + ModestMsgEditWindow *window); + +void modest_ui_actions_on_select_editor_color (GtkAction *action, + ModestMsgEditWindow *window); -void modest_ui_actions_on_delete_folder (GtkWidget *widget, +void modest_ui_actions_on_select_editor_background_color (GtkAction *action, + ModestMsgEditWindow *window); + +void modest_ui_actions_on_insert_image (GtkAction *action, + ModestMsgEditWindow *window); + +void modest_ui_actions_on_send_receive (GtkAction *action, ModestWindow *win); + +void modest_ui_actions_on_new_folder (GtkAction *action, + ModestMainWindow *main_window); + +void modest_ui_actions_on_rename_folder (GtkAction *action, + ModestMainWindow *main_window); + +void modest_ui_actions_on_delete_folder (GtkAction *action, ModestMainWindow *main_window); -void modest_ui_actions_on_move_folder_to_trash_folder (GtkWidget *widget, +void modest_ui_actions_on_move_folder_to_trash_folder (GtkAction *action, ModestMainWindow *main_window); void modest_ui_actions_on_connection_changed (TnyDevice *device, gboolean online, ModestMainWindow *main_window); -void modest_ui_actions_on_folder_xfer (ModestFolderView *folder_view, - TnyFolder *folder, - TnyFolderStore *parent, - gboolean delete_source, - TnyFolder **new_folder, - gpointer user_data); - void modest_ui_actions_on_password_requested (TnyAccountStore *account_store, const gchar* account_name, gchar **password, gboolean *cancel, gboolean *remember, ModestMainWindow *main_window); +void modest_ui_actions_on_cut (GtkAction *action, + ModestWindow *window); +void modest_ui_actions_on_copy (GtkAction *action, + ModestWindow *window); +void modest_ui_actions_on_paste (GtkAction *action, + ModestWindow *window); +void modest_ui_actions_on_select_all (GtkAction *action, + ModestWindow *window); + G_END_DECLS #endif /* __MODEST_UI_ACTIONS_H__ */