diff options
author | Iain Holmes <iain@src.gnome.org> | 2001-09-29 02:58:17 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2001-09-29 02:58:17 +0800 |
commit | e6ab5554d4fe16cc816d8751b0206291ffeeccc5 (patch) | |
tree | 8b6ea8acb7336b8e37db01bae9cd3ae10969753e /shell/e-shell.c | |
parent | 03dcbdb743e9fd4d8490f60830545a88e58776ef (diff) | |
download | gsoc2013-evolution-e6ab5554d4fe16cc816d8751b0206291ffeeccc5.tar.gz gsoc2013-evolution-e6ab5554d4fe16cc816d8751b0206291ffeeccc5.tar.zst gsoc2013-evolution-e6ab5554d4fe16cc816d8751b0206291ffeeccc5.zip |
Allow callers to set the default type of folder to be created.
svn path=/trunk/; revision=13220
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r-- | shell/e-shell.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c index 17f5bc2c72..cb04e01249 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -375,6 +375,7 @@ impl_Shell_selectUserFolder (PortableServer_Servant servant, const CORBA_char *title, const CORBA_char *default_folder, const GNOME_Evolution_Shell_FolderTypeNameList *corba_allowed_type_names, + const CORBA_char *default_type, CORBA_Environment *ev) { GtkWidget *folder_selection_dialog; @@ -402,7 +403,8 @@ impl_Shell_selectUserFolder (PortableServer_Servant servant, title, NULL, default_folder, - allowed_type_names); + allowed_type_names, + default_type); listener_duplicate = CORBA_Object_duplicate (listener, ev); gtk_object_set_data_full (GTK_OBJECT (folder_selection_dialog), "corba_listener", |