* Fixes NB#92688, migrate editor menus to 1.5 specs
[modest] / src / hildon2 / modest-msg-edit-window-ui-dimming.h
1 #ifndef __MODEST_MSG_EDIT_WINDOW_UI_DIMMING_PRIV_H__
2 #define __MODEST_MSG_EDIT_WINDOW_UI_DIMMING_PRIV_H__
3
4 #include "modest-dimming-rules-group.h"
5 #include "modest-ui-dimming-rules.h"
6
7 G_BEGIN_DECLS
8
9
10 /* Menu Dimming rules entries */
11 static const ModestDimmingEntry modest_msg_edit_window_menu_dimming_entries [] = {
12
13         /* Format Menu */
14         { "/MenuBar/FormatMenu/SelectFontMenu", G_CALLBACK (modest_ui_dimming_rules_on_set_style) },
15         { "/MenuBar/FormatMenu/AlignmentMenu", G_CALLBACK (modest_ui_dimming_rules_on_set_style) },
16         { "/MenuBar/FormatMenu/AlignmentLeftMenu", G_CALLBACK (modest_ui_dimming_rules_on_set_style) },
17         { "/MenuBar/FormatMenu/AlignmentRightMenu", G_CALLBACK (modest_ui_dimming_rules_on_set_style) },
18         { "/MenuBar/FormatMenu/AlignmentCenterMenu", G_CALLBACK (modest_ui_dimming_rules_on_set_style) },
19         { "/MenuBar/FormatMenu/InsertImageMenu", G_CALLBACK (modest_ui_dimming_rules_on_set_style) },
20         { "/MenuBar/EditMenu/UndoMenu", G_CALLBACK (modest_ui_dimming_rules_on_undo) },
21         { "/MenuBar/EditMenu/RedoMenu", G_CALLBACK (modest_ui_dimming_rules_on_redo) },
22         { "/MenuBar/AttachmentsMenu/RemoveAttachmentsMenu", G_CALLBACK (modest_ui_dimming_rules_on_editor_remove_attachment) },
23         { "/MenuBar/AttachmentsMenu/InsertImageMenu", G_CALLBACK (modest_ui_dimming_rules_on_set_style) },
24         { "/MenuBar/EmailMenu/SaveToDraftsMenu", G_CALLBACK (modest_ui_dimming_rules_on_save_to_drafts) },
25
26 };
27
28 /* Menu Dimming rules entries */
29 static const ModestDimmingEntry modest_msg_edit_window_toolbar_dimming_entries [] = {
30
31         /* Toolbar */
32         { "/ToolBar/ToolbarSend", G_CALLBACK(modest_ui_dimming_rules_on_send) },
33         { "/ToolBar/ActionsBold", G_CALLBACK(modest_ui_dimming_rules_on_set_style) },
34         { "/ToolBar/ActionsItalics", G_CALLBACK(modest_ui_dimming_rules_on_set_style) },
35 };
36
37 G_END_DECLS
38 #endif /* __MODEST_MSG_VIEW_WINDOW_UI_PRIV_H__ */