aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-10-28 17:25:47 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-10-28 17:25:47 +0800
commit7f73e47a135be5b7353e48d666a3555e6b6fc675 (patch)
tree5854257ed2fe5fc8c9c327775cbce5678fa95d31
parent358fb894df070eeaa0d045b54caff44c9eff648b (diff)
downloadgsoc2013-evolution-7f73e47a135be5b7353e48d666a3555e6b6fc675.tar.gz
gsoc2013-evolution-7f73e47a135be5b7353e48d666a3555e6b6fc675.tar.zst
gsoc2013-evolution-7f73e47a135be5b7353e48d666a3555e6b6fc675.zip
fix the popup id.
2004-10-28 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (drag_data_received): fix the popup id. * e-msg-composer-attachment-bar.c (emcab_popup): added popup doco. svn path=/trunk/; revision=27750
-rw-r--r--composer/ChangeLog6
-rw-r--r--composer/e-msg-composer-attachment-bar.c9
-rw-r--r--composer/e-msg-composer.c2
3 files changed, 15 insertions, 2 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index a94023731b..38436936d0 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,9 @@
+2004-10-28 Not Zed <NotZed@Ximian.com>
+
+ * e-msg-composer.c (drag_data_received): fix the popup id.
+
+ * e-msg-composer-attachment-bar.c (emcab_popup): added popup doco.
+
2004-10-27 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (composer_key_pressed): Close on Esc.
diff --git a/composer/e-msg-composer-attachment-bar.c b/composer/e-msg-composer-attachment-bar.c
index 603c6892d7..84aaf8c825 100644
--- a/composer/e-msg-composer-attachment-bar.c
+++ b/composer/e-msg-composer-attachment-bar.c
@@ -509,7 +509,14 @@ emcab_popup(EMsgComposerAttachmentBar *bar, GdkEventButton *event, int id)
for (i=0;i<sizeof(emcab_popups)/sizeof(emcab_popups[0]);i++)
menus = g_slist_prepend(menus, &emcab_popups[i]);
- emp = em_popup_new("org.gnome.evolution.mail.composer.attachmentBar");
+ /** @HookPoint-EMPopup: Composer Attachment Bar Context Menu
+ * @Id: org.gnome.evolution.mail.composer.attachmentbar.popup
+ * @Class: org.gnome.evolution.mail.popup:1.0
+ * @Target: EMPopupTargetAttachments
+ *
+ * This is the context menu on the composer attachment bar.
+ */
+ emp = em_popup_new("org.gnome.evolution.mail.composer.attachmentbar.popup");
e_popup_add_items((EPopup *)emp, menus, emcab_popups_free, bar);
t = em_popup_target_new_attachments(emp, attachments);
t->target.widget = (GtkWidget *)bar;
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 9ab83158e6..ec9b3d6b1f 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -2926,7 +2926,7 @@ drag_data_received (EMsgComposer *composer, GdkDragContext *context,
memcpy(m->selection->data, selection->data, selection->length);
m->selection->length = selection->length;
- emp = em_popup_new("org.gnome.mail.composer.popup.drop");
+ emp = em_popup_new("org.gnome.evolution.mail.composer.popup.drop");
for (i=0;i<sizeof(drop_popup_menu)/sizeof(drop_popup_menu[0]);i++)
menus = g_slist_append(menus, &drop_popup_menu[i]);