diff options
author | Chris Toshok <toshok@ximian.com> | 2001-05-12 07:59:32 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-05-12 07:59:32 +0800 |
commit | d35a3f652b8059e20e6dbe53f5f136bdf7f2f354 (patch) | |
tree | 4d374f42efa5e7c0a013f66152d94e34af81c176 /shell/evolution-shell-component-client.c | |
parent | 12de520a89398e2c9810f042b3d10e3c4c1ed1ef (diff) | |
download | gsoc2013-evolution-d35a3f652b8059e20e6dbe53f5f136bdf7f2f354.tar.gz gsoc2013-evolution-d35a3f652b8059e20e6dbe53f5f136bdf7f2f354.tar.zst gsoc2013-evolution-d35a3f652b8059e20e6dbe53f5f136bdf7f2f354.zip |
add RemoveFolder menu item and verb. (folder_context_menu_remove_cb): new
2001-05-11 Chris Toshok <toshok@ximian.com>
* e-storage-set-view.c
(populate_folder_context_menu_with_common_items): add RemoveFolder
menu item and verb.
(folder_context_menu_remove_cb): new function, call
e_storage_set_async_remove_folder.
(remove_cb): callack for e_storage_set_async_remove_folder.
* evolution-shell-component-client.c
(evolution_shell_component_client_populate_folder_context_menu):
fix prototype to reflect Component -> Container.
* evolution-shell-component-client.h: same.
svn path=/trunk/; revision=9778
Diffstat (limited to 'shell/evolution-shell-component-client.c')
-rw-r--r-- | shell/evolution-shell-component-client.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/shell/evolution-shell-component-client.c b/shell/evolution-shell-component-client.c index 8a9f0ea67c..f8e00de066 100644 --- a/shell/evolution-shell-component-client.c +++ b/shell/evolution-shell-component-client.c @@ -707,11 +707,11 @@ evolution_shell_component_client_async_xfer_folder (EvolutionShellComponentClien void evolution_shell_component_client_populate_folder_context_menu (EvolutionShellComponentClient *shell_component_client, - BonoboUIComponent *uih, + BonoboUIContainer *container, const char *physical_uri, const char *type) { - Bonobo_UIContainer corba_uih; + Bonobo_UIContainer corba_container; EvolutionShellComponentClientPrivate *priv; GNOME_Evolution_ShellComponent corba_shell_component; CORBA_Environment ev; @@ -726,13 +726,13 @@ evolution_shell_component_client_populate_folder_context_menu (EvolutionShellCom CORBA_exception_init (&ev); corba_shell_component = bonobo_object_corba_objref (BONOBO_OBJECT (shell_component_client)); - corba_uih = bonobo_object_corba_objref (BONOBO_OBJECT (uih)); + corba_container = bonobo_object_corba_objref (BONOBO_OBJECT (container)); GNOME_Evolution_ShellComponent_populateFolderContextMenu (corba_shell_component, - corba_uih, - physical_uri, - type, - &ev); + corba_container, + physical_uri, + type, + &ev); CORBA_exception_free (&ev); } |