From 49fd4ffbc41c4270efcc28d108b5a66d8773e178 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 3 Aug 2000 18:21:47 +0000 Subject: Update the ::user_select_folder() interface so that it accepts both a physical URI or an evolution: one for specifying the default folder. svn path=/trunk/; revision=4508 --- shell/e-shell-view-menu.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'shell/e-shell-view-menu.c') diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c index 905d1d834b..996697d023 100644 --- a/shell/e-shell-view-menu.c +++ b/shell/e-shell-view-menu.c @@ -308,21 +308,16 @@ command_goto_folder (BonoboUIHandler *uih, EShellView *shell_view; EShell *shell; const char *current_uri; - const char *default_folder; shell_view = E_SHELL_VIEW (data); shell = e_shell_view_get_shell (shell_view); current_uri = e_shell_view_get_current_uri (shell_view); - if (strncmp (current_uri, E_SHELL_URI_PREFIX, E_SHELL_URI_PREFIX_LEN) == 0) - default_folder = current_uri + E_SHELL_URI_PREFIX_LEN; - else - default_folder = NULL; - folder_selection_dialog = e_shell_folder_selection_dialog_new (shell, _("Go to folder..."), - default_folder, NULL); + current_uri, + NULL); gtk_window_set_transient_for (GTK_WINDOW (folder_selection_dialog), GTK_WINDOW (shell_view)); -- cgit v1.2.3