aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-02-27 11:58:25 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-02-27 11:58:25 +0800
commita75e12466d16f6c17d558de205bd0991485101cc (patch)
tree5b26cdf613586f1e1f6892955264864ebef52c2e /shell/e-shell.c
parent6d372364756b98ec1bd22810c3b9bf7a9a514c71 (diff)
downloadgsoc2013-evolution-a75e12466d16f6c17d558de205bd0991485101cc.tar
gsoc2013-evolution-a75e12466d16f6c17d558de205bd0991485101cc.tar.gz
gsoc2013-evolution-a75e12466d16f6c17d558de205bd0991485101cc.tar.bz2
gsoc2013-evolution-a75e12466d16f6c17d558de205bd0991485101cc.tar.lz
gsoc2013-evolution-a75e12466d16f6c17d558de205bd0991485101cc.tar.xz
gsoc2013-evolution-a75e12466d16f6c17d558de205bd0991485101cc.tar.zst
gsoc2013-evolution-a75e12466d16f6c17d558de205bd0991485101cc.zip
Added `accepted_dnd_mime_types' and `exported_dnd_mime_types' members
to the `FolderType' struct and renamed `Evolution::Shell::FolderTypeList' to `Evolution::Shell::FolderTypeNameList' to avoid confusion. svn path=/trunk/; revision=8400
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 3067a8cd9a..6656e2f79b 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -238,28 +238,28 @@ impl_Shell_selectUserFolder (PortableServer_Servant servant,
const GNOME_Evolution_FolderSelectionListener listener,
const CORBA_char *title,
const CORBA_char *default_folder,
- const GNOME_Evolution_Shell_FolderTypeList *corba_allowed_types,
+ const GNOME_Evolution_Shell_FolderTypeNameList *corba_allowed_type_names,
CORBA_Environment *ev)
{
GtkWidget *folder_selection_dialog;
BonoboObject *bonobo_object;
GNOME_Evolution_FolderSelectionListener listener_duplicate;
EShell *shell;
- const char **allowed_types;
+ const char **allowed_type_names;
int i;
bonobo_object = bonobo_object_from_servant (servant);
shell = E_SHELL (bonobo_object);
- allowed_types = alloca (sizeof (allowed_types[0]) * (corba_allowed_types->_length + 1));
- for (i = 0; i < corba_allowed_types->_length; i++)
- allowed_types[i] = corba_allowed_types->_buffer[i];
- allowed_types[corba_allowed_types->_length] = NULL;
+ allowed_type_names = alloca (sizeof (allowed_type_names[0]) * (corba_allowed_type_names->_length + 1));
+ for (i = 0; i < corba_allowed_type_names->_length; i++)
+ allowed_type_names[i] = corba_allowed_type_names->_buffer[i];
+ allowed_type_names[corba_allowed_type_names->_length] = NULL;
/* CORBA doesn't allow you to pass a NULL pointer. */
if (!*default_folder)
default_folder = NULL;
- folder_selection_dialog = e_shell_folder_selection_dialog_new (shell, title, default_folder, allowed_types);
+ folder_selection_dialog = e_shell_folder_selection_dialog_new (shell, title, default_folder, allowed_type_names);
listener_duplicate = CORBA_Object_duplicate (listener, ev);
gtk_object_set_data_full (GTK_OBJECT (folder_selection_dialog), "corba_listener",