diff options
author | Srinivasa Ragavan <sragavan@novell.com> | 2005-07-05 12:38:51 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2005-07-05 12:38:51 +0800 |
commit | 342d3c32efc78ba037046d32b137321b915bac6d (patch) | |
tree | 3d6124cd1437c75f5a13a71861343e824ecc57b3 /calendar/gui/dialogs/comp-editor.c | |
parent | d6634fe53c1b9ddb09b538f181b356865b3aeaf2 (diff) | |
download | gsoc2013-evolution-342d3c32efc78ba037046d32b137321b915bac6d.tar gsoc2013-evolution-342d3c32efc78ba037046d32b137321b915bac6d.tar.gz gsoc2013-evolution-342d3c32efc78ba037046d32b137321b915bac6d.tar.bz2 gsoc2013-evolution-342d3c32efc78ba037046d32b137321b915bac6d.tar.lz gsoc2013-evolution-342d3c32efc78ba037046d32b137321b915bac6d.tar.xz gsoc2013-evolution-342d3c32efc78ba037046d32b137321b915bac6d.tar.zst gsoc2013-evolution-342d3c32efc78ba037046d32b137321b915bac6d.zip |
Created new target type Added #define for the new target type Poped e-cal
2005-07-05 Srinivasa Ragavan <sragavan@novell.com>
* gui/e-cal-popup.c: Created new target type
* gui/e-cal-popup.h: Added #define for the new target type
* gui/dialogs/cal-attachment-bar.c: (cab_popup) Poped e-cal instead of
em_*. Removed mailer code from calendar
* gui/dialogs/comp-editor.c: (drag_data_received) Poped e-cal instead of
em_*. Removed mailer code from calendar.
svn path=/trunk/; revision=29630
Diffstat (limited to 'calendar/gui/dialogs/comp-editor.c')
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index fda20375dd..c7a7c10d6d 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -57,6 +57,7 @@ #include "cancel-comp.h" #include "recur-comp.h" #include "comp-editor.h" +#include "../e-cal-popup.h" #include "cal-attachment-bar.h" #include "misc/e-expander.h" @@ -447,7 +448,7 @@ drag_data_received (CompEditor *editor, GdkDragContext *context, return; if (context->action == GDK_ACTION_ASK) { - EMPopup *emp; + ECalPopup *ecp; GSList *menus = NULL; GtkMenu *menu; int i; @@ -466,12 +467,12 @@ drag_data_received (CompEditor *editor, GdkDragContext *context, memcpy(m->selection->data, selection->data, selection->length); m->selection->length = selection->length; - emp = em_popup_new("org.gnome.evolution.mail.editor.popup.drop"); + ecp = e_cal_popup_new("org.gnome.evolution.calendar.editor.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]); - e_popup_add_items((EPopup *)emp, menus, NULL, drop_popup_free, m); - menu = e_popup_create_menu_once((EPopup *)emp, NULL, 0); + e_popup_add_items((EPopup *)ecp, menus, NULL, drop_popup_free, m); + menu = e_popup_create_menu_once((EPopup *)ecp, NULL, 0); gtk_menu_popup(menu, NULL, NULL, NULL, NULL, 0, time); } else { drop_action(editor, context, context->action, selection, info, time); |