diff options
-rw-r--r-- | mail/ChangeLog | 4 | ||||
-rw-r--r-- | mail/em-menu.c | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 8048971e13..c6041a0119 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,9 @@ 2005-01-05 Not Zed <NotZed@Ximian.com> + * em-menu.c: (emph_targets[]): Add the widget target, missed this. + +2005-01-05 Not Zed <NotZed@Ximian.com> + * em-menu.c (em_menu_target_new_widget): add a semi-dummy target for widget target. 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 } }; |