aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-user-creatable-items-handler.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-04-21 12:08:55 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-04-21 12:08:55 +0800
commitbb6445c7f1fe7573e76c227731f233f7d25d2636 (patch)
tree155ee08c9a8491e2d48b06dd53fceddaf6803ffd /shell/e-user-creatable-items-handler.h
parent5ceead1c12ce0e632512359632ccf54594c08a6d (diff)
downloadgsoc2013-evolution-bb6445c7f1fe7573e76c227731f233f7d25d2636.tar.gz
gsoc2013-evolution-bb6445c7f1fe7573e76c227731f233f7d25d2636.tar.zst
gsoc2013-evolution-bb6445c7f1fe7573e76c227731f233f7d25d2636.zip
if we're running a local create, invoke that directly via the callback.
2004-04-21 Not Zed <NotZed@Ximian.com> * e-user-creatable-items-handler.c (execute_verb): if we're running a local create, invoke that directly via the callback. (e_user_creatable_items_handler_new): add a callback for creating local items. svn path=/trunk/; revision=25544
Diffstat (limited to 'shell/e-user-creatable-items-handler.h')
-rw-r--r--shell/e-user-creatable-items-handler.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/e-user-creatable-items-handler.h b/shell/e-user-creatable-items-handler.h
index f7be31894e..146672a35c 100644
--- a/shell/e-user-creatable-items-handler.h
+++ b/shell/e-user-creatable-items-handler.h
@@ -43,6 +43,7 @@ typedef struct _EUserCreatableItemsHandler EUserCreatableItemsHandler;
typedef struct _EUserCreatableItemsHandlerPrivate EUserCreatableItemsHandlerPrivate;
typedef struct _EUserCreatableItemsHandlerClass EUserCreatableItemsHandlerClass;
+typedef void (*EUserCreatableItemsHandlerCreate)(EUserCreatableItemsHandler *handler, const char *item_type_name, void *data);
struct _EUserCreatableItemsHandler {
GObject parent;
@@ -56,7 +57,8 @@ struct _EUserCreatableItemsHandlerClass {
GType e_user_creatable_items_handler_get_type (void);
-EUserCreatableItemsHandler *e_user_creatable_items_handler_new (const char *component_alias);
+EUserCreatableItemsHandler *e_user_creatable_items_handler_new (const char *component_alias,
+ EUserCreatableItemsHandlerCreate create_local, void *data);
void e_user_creatable_items_handler_activate (EUserCreatableItemsHandler *handler,
BonoboUIComponent *ui_component);