aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-01-05 15:55:26 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-01-05 15:55:26 +0800
commit3fe558d643c7477f414cc9a8012d9f76df980bd7 (patch)
tree99f7ad8f5d6d18d80ab7929f1c0d12137a64591b
parent9f99a5bd78356244ff4412711ee75064f2382066 (diff)
downloadgsoc2013-evolution-3fe558d643c7477f414cc9a8012d9f76df980bd7.tar
gsoc2013-evolution-3fe558d643c7477f414cc9a8012d9f76df980bd7.tar.gz
gsoc2013-evolution-3fe558d643c7477f414cc9a8012d9f76df980bd7.tar.bz2
gsoc2013-evolution-3fe558d643c7477f414cc9a8012d9f76df980bd7.tar.lz
gsoc2013-evolution-3fe558d643c7477f414cc9a8012d9f76df980bd7.tar.xz
gsoc2013-evolution-3fe558d643c7477f414cc9a8012d9f76df980bd7.tar.zst
gsoc2013-evolution-3fe558d643c7477f414cc9a8012d9f76df980bd7.zip
Add the widget target, missed this.
2005-01-05 Not Zed <NotZed@Ximian.com> * em-menu.c: (emph_targets[]): Add the widget target, missed this. svn path=/trunk/; revision=28244
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/em-menu.c7
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 }
};