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
This commit is contained in:
Ettore Perazzoli
2002-05-22 23:51:38 +00:00
parent 16d764ed7c
commit 1fb21d1f78
9 changed files with 64 additions and 40 deletions

View File

@ -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);