diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-07-21 00:00:29 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-07-21 00:00:29 +0800 |
commit | 5dad2a9d035f4d6d31e5b4630946935ac3916d87 (patch) | |
tree | 9a8b6397d1c3521e4125358f97d198c5216e53cb /shell/evolution-shell-component.h | |
parent | e4f6918a98bbd339e90b7a0fc5d5a54f903e8fa4 (diff) | |
download | gsoc2013-evolution-5dad2a9d035f4d6d31e5b4630946935ac3916d87.tar gsoc2013-evolution-5dad2a9d035f4d6d31e5b4630946935ac3916d87.tar.gz gsoc2013-evolution-5dad2a9d035f4d6d31e5b4630946935ac3916d87.tar.bz2 gsoc2013-evolution-5dad2a9d035f4d6d31e5b4630946935ac3916d87.tar.lz gsoc2013-evolution-5dad2a9d035f4d6d31e5b4630946935ac3916d87.tar.xz gsoc2013-evolution-5dad2a9d035f4d6d31e5b4630946935ac3916d87.tar.zst gsoc2013-evolution-5dad2a9d035f4d6d31e5b4630946935ac3916d87.zip |
Add interfaces to populate a folder's context menu. (Untested.)
svn path=/trunk/; revision=4240
Diffstat (limited to 'shell/evolution-shell-component.h')
-rw-r--r-- | shell/evolution-shell-component.h | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/shell/evolution-shell-component.h b/shell/evolution-shell-component.h index c91d4bec97..095177b56d 100644 --- a/shell/evolution-shell-component.h +++ b/shell/evolution-shell-component.h @@ -87,6 +87,11 @@ typedef void (* EvolutionShellComponentRemoveFolderFn) (EvolutionShellComponent const char *physical_uri, const Evolution_ShellComponentListener listener, void *closure); +typedef void (* EvolutionShellComponentPopulateFolderContextMenu) (EvolutionShellComponent *shell_component, + BonoboUIHandler *uih, + const char *physical_uri, + const char *type, + void *closure); struct _EvolutionShellComponentFolderType { char *name; @@ -112,19 +117,21 @@ struct _EvolutionShellComponentClass { GtkType evolution_shell_component_get_type (void); -void evolution_shell_component_construct (EvolutionShellComponent *shell_component, - const EvolutionShellComponentFolderType folder_types[], - Evolution_ShellComponent corba_object, - EvolutionShellComponentCreateViewFn create_view_fn, - EvolutionShellComponentCreateFolderFn create_folder_fn, - EvolutionShellComponentRemoveFolderFn remove_folder_fn, - void *closure); -EvolutionShellComponent *evolution_shell_component_new (const EvolutionShellComponentFolderType folder_types[], - EvolutionShellComponentCreateViewFn create_view_fn, - EvolutionShellComponentCreateFolderFn create_folder_fn, - EvolutionShellComponentRemoveFolderFn remove_folder_fn, - void *closure); -EvolutionShellClient *evolution_shell_component_get_owner (EvolutionShellComponent *shell_component); +void evolution_shell_component_construct (EvolutionShellComponent *shell_component, + const EvolutionShellComponentFolderType folder_types[], + Evolution_ShellComponent corba_object, + EvolutionShellComponentCreateViewFn create_view_fn, + EvolutionShellComponentCreateFolderFn create_folder_fn, + EvolutionShellComponentRemoveFolderFn remove_folder_fn, + EvolutionShellComponentPopulateFolderContextMenu populate_folder_context_menu_fn, + void *closure); +EvolutionShellComponent *evolution_shell_component_new (const EvolutionShellComponentFolderType folder_types[], + EvolutionShellComponentCreateViewFn create_view_fn, + EvolutionShellComponentCreateFolderFn create_folder_fn, + EvolutionShellComponentRemoveFolderFn remove_folder_fn, + EvolutionShellComponentPopulateFolderContextMenu populate_folder_context_menu_fn, + void *closure); +EvolutionShellClient *evolution_shell_component_get_owner (EvolutionShellComponent *shell_component); #ifdef cplusplus } |