aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view-menu.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-05-11 00:54:23 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-05-11 00:54:23 +0800
commitc1b5780b8a6b033d800fc96deb87012631049090 (patch)
tree2aa2ddf4607dd58e6b8bd8c38e2cc44c1d1a2aa9 /shell/e-shell-view-menu.c
parentcf18d0940f9abbe8bb032d08a0fb33067def30d7 (diff)
downloadgsoc2013-evolution-c1b5780b8a6b033d800fc96deb87012631049090.tar
gsoc2013-evolution-c1b5780b8a6b033d800fc96deb87012631049090.tar.gz
gsoc2013-evolution-c1b5780b8a6b033d800fc96deb87012631049090.tar.bz2
gsoc2013-evolution-c1b5780b8a6b033d800fc96deb87012631049090.tar.lz
gsoc2013-evolution-c1b5780b8a6b033d800fc96deb87012631049090.tar.xz
gsoc2013-evolution-c1b5780b8a6b033d800fc96deb87012631049090.tar.zst
gsoc2013-evolution-c1b5780b8a6b033d800fc96deb87012631049090.zip
Added some tests for the custom storage.
* evolution-test-component.c: Added some tests for the custom storage. * evolution-storage.c: New signal DISCOVER_SHARED_FOLDER. (impl_Storage_asyncXferFolder): Renamed from impl_Storage_async_xfer_folder. (impl_Storage_asyncRemoveFolder): Renamed from impl_Storage_async_remove_folder. (impl_Storage_asyncCreateFolder): Renamed from impl_Storage_async_create_folder. (impl_Storage_asyncOpenFolder): Renamed from impl_storage_async_open_folder. (impl_Storage_addListener): Renamed from impl_Storage_add_listener. (impl_Storage_removeListener): Renamed from impl_Storage_remove_listener. (impl_Storage_asyncDiscoverSharedFolder): New, implementation for ::asyncDiscoverSharedFolder. (evolution_storage_get_epv): Install the CORBA method here. (class_init): Set up the "discover_shared_folder" signal here. (e_marshal_NONE__POINTER_POINTER): Yet Another Marshaller. Die die die. * Evolution-Storage.idl (Storage::asyncDiscoverSharedFolder): New method. (StorageListener::notifySharedFolderDiscovered): New method. * e-shell-view-menu.c (command_open_other_users_folder): New, implementation for the FileOpenOtherUsersFolder verb. * Makefile.am: Generate stubs and skels for Evolution::Addressbook::SelectNames as well. * glade/e-shell-shared-folder-picker-dialog.glade: New. svn path=/trunk/; revision=16746
Diffstat (limited to 'shell/e-shell-view-menu.c')
-rw-r--r--shell/e-shell-view-menu.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c
index 5869048abf..eff7aa0817 100644
--- a/shell/e-shell-view-menu.c
+++ b/shell/e-shell-view-menu.c
@@ -30,6 +30,7 @@
#include "e-shell-view-menu.h"
+#include "e-shell-shared-folder-picker-dialog.h"
#include "e-shell-folder-creation-dialog.h"
#include "e-shell-folder-selection-dialog.h"
@@ -399,6 +400,23 @@ command_add_folder_to_shortcut_bar (BonoboUIComponent *uih,
}
+/* Opening other users' folders. */
+
+static void
+command_open_other_users_folder (BonoboUIComponent *uih,
+ void *data,
+ const char *path)
+{
+ EShellView *shell_view;
+ EShell *shell;
+
+ shell_view = E_SHELL_VIEW (data);
+ shell = e_shell_view_get_shell (shell_view);
+
+ e_shell_show_shared_folder_picker_dialog (shell, shell_view);
+}
+
+
/* Going to a folder. */
static void
@@ -627,6 +645,7 @@ static BonoboUIVerb new_verbs [] = {
static BonoboUIVerb file_verbs [] = {
BONOBO_UI_VERB ("FileImporter", (BonoboUIVerbFn) show_import_wizard),
+ BONOBO_UI_VERB ("FileOpenOtherUsersFolder", command_open_other_users_folder),
BONOBO_UI_VERB ("FileGoToFolder", command_goto_folder),
BONOBO_UI_VERB ("FileCreateFolder", command_create_folder),
BONOBO_UI_VERB ("FileClose", command_close),