aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-menu.c')
-rw-r--r--mail/em-menu.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/em-menu.c b/mail/em-menu.c
index a80e4fb153..2bcf74cc5d 100644
--- a/mail/em-menu.c
+++ b/mail/em-menu.c
@@ -315,8 +315,15 @@ static const EMenuHookTargetMask emph_select_masks[] = {
{ 0 }
};
+/* dummy widget target, probably wont have any useful masks.
+ this should probably be a more specific target type */
+static const EMenuHookTargetMask emph_widget_masks[] = {
+ { 0 }
+};
+
static const EMenuHookTargetMap emph_targets[] = {
{ "select", EM_MENU_TARGET_SELECT, emph_select_masks },
+ { "widget", EM_MENU_TARGET_WIDGET, emph_widget_masks },
{ 0 }
};