aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog8
-rw-r--r--shell/e-shell-user-creatable-items-handler.c4
2 files changed, 10 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index c488b67276..6e036b1192 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,11 @@
+2001-08-22 Ettore Perazzoli <ettore@ximian.com>
+
+ [Fix #7775, crash trying to do New Task]
+
+ * e-shell-user-creatable-items-handler.c (verb_fn): Make sure we
+ don't pass NULL strings to
+ `GNOME_Evolution_ShellComponent_userCreateNewItem()'.
+
2001-08-21 Damon Chaplin <damon@ximian.com>
* e-gray-bar.c (endarken_style): unref the rc_style.
diff --git a/shell/e-shell-user-creatable-items-handler.c b/shell/e-shell-user-creatable-items-handler.c
index ed8f727f41..faa5b5cc9f 100644
--- a/shell/e-shell-user-creatable-items-handler.c
+++ b/shell/e-shell-user-creatable-items-handler.c
@@ -303,8 +303,8 @@ verb_fn (BonoboUIComponent *ui_component,
GNOME_Evolution_ShellComponent_userCreateNewItem
(bonobo_object_corba_objref (BONOBO_OBJECT (component->component_client)),
id,
- e_shell_view_get_current_physical_uri (shell_view),
- e_shell_view_get_current_folder_type (shell_view),
+ e_safe_corba_string (e_shell_view_get_current_physical_uri (shell_view)),
+ e_safe_corba_string (e_shell_view_get_current_folder_type (shell_view)),
&ev);
if (ev._major != CORBA_NO_EXCEPTION)