aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog4
-rw-r--r--shell/e-shell.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index f10ca85703..7e5931705e 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,9 @@
2003-01-10 Ettore Perazzoli <ettore@ximian.com>
+ * e-shell.c (parse_default_uri): Remove bogus is_default check.
+
+2003-01-10 Ettore Perazzoli <ettore@ximian.com>
+
* e-setup.c (set_default_folder_physical_uri_from_path): New
function.
(e_setup_check_config): Call it for each of the *_path keys. Do
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 267addbfa8..837bc3cc6c 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -2175,7 +2175,6 @@ parse_default_uri (EShell *shell,
const char *p;
char *config_path;
char *path;
- gboolean is_default;
component_start = uri + E_SHELL_DEFAULTURI_PREFIX_LEN;
p = strchr (uri, '#');
@@ -2193,7 +2192,7 @@ parse_default_uri (EShell *shell,
/* We expect an evolution: URI here, if we don't get it then something
is messed up. */
- if (path == NULL || strncmp (path, E_SHELL_URI_PREFIX, E_SHELL_URI_PREFIX_LEN) != 0 || is_default) {
+ if (path == NULL || strncmp (path, E_SHELL_URI_PREFIX, E_SHELL_URI_PREFIX_LEN) != 0) {
g_free (path);
if (path_return != NULL)
*path_return = NULL;