From 1fb21d1f784bc63b619b72c8b83392cb2940c00c Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 22 May 2002 23:51:38 +0000 Subject: No more @default_type arg to e_shell_folder_selection_dialog_new(). * e-shell.c (impl_Shell_selectUserFolder): No more @default_type arg to e_shell_folder_selection_dialog_new(). * e-shell-view-menu.c (command_goto_folder): No more @default_type arg to e_shell_folder_selection_dialog_new(). (command_new_shortcut): Likewise. * e-shell-importer.c (import_druid_finish): No more @default_type arg to e_shell_folder_selection_dialog_new(). * e-shell-folder-commands.c (e_shell_command_move_folder): No more @default_type arg to e_shell_folder_selection_dialog_new(). (e_shell_command_copy_folder): Likewise. * e-shell-folder-selection-dialog.c: Removed default_type member in EShellFolderSelectionDialogPrivate. (e_shell_folder_selection_dialog_new): Removed @default_type arg. (e_shell_folder_selection_dialog_construct): Likewise. (impl_clicked): Just pass the first of the allowed types to e_shell_show_folder_creation_dialog() for the default type. * evolution-shell-client.c (user_select_folder): No more @default_type arg to the ::userSelectFolder CORBA method. * Evolution-Shell.idl (selectUserFolder): Remove arg @default_type. svn path=/trunk/; revision=16983 --- shell/e-shell-folder-commands.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'shell/e-shell-folder-commands.c') diff --git a/shell/e-shell-folder-commands.c b/shell/e-shell-folder-commands.c index a2b1055b5a..aee1d459e3 100644 --- a/shell/e-shell-folder-commands.c +++ b/shell/e-shell-folder-commands.c @@ -322,11 +322,8 @@ e_shell_command_copy_folder (EShell *shell, get_folder_name (shell, folder_path)); uri = g_strconcat (E_SHELL_URI_PREFIX, folder_path, NULL); - folder_selection_dialog = e_shell_folder_selection_dialog_new (shell, - _("Copy folder"), - caption, - uri, - NULL, NULL); + folder_selection_dialog = e_shell_folder_selection_dialog_new (shell, _("Copy folder"), + caption, uri, NULL); g_free (caption); g_free (uri); @@ -369,11 +366,8 @@ e_shell_command_move_folder (EShell *shell, get_folder_name (shell, folder_path)); uri = g_strconcat (E_SHELL_URI_PREFIX, folder_path, NULL); - folder_selection_dialog = e_shell_folder_selection_dialog_new (shell, - _("Move folder"), - caption, - uri, - NULL, NULL); + folder_selection_dialog = e_shell_folder_selection_dialog_new (shell, _("Move folder"), + caption, uri, NULL); g_free (caption); g_free (uri); -- cgit v1.2.3