aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-01-11 02:18:25 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-01-11 02:18:25 +0800
commit794ff9b52787ef07f2750481c3f4934bd07c5dd1 (patch)
tree5506f4e9b0ee17306981d3be94bbfc1a964dd0ff
parenteecdb4064d5ed22384f90b90dbb4a3acb9de151b (diff)
downloadgsoc2013-evolution-794ff9b52787ef07f2750481c3f4934bd07c5dd1.tar.gz
gsoc2013-evolution-794ff9b52787ef07f2750481c3f4934bd07c5dd1.tar.zst
gsoc2013-evolution-794ff9b52787ef07f2750481c3f4934bd07c5dd1.zip
(parse_default_uri): Remove bogus is_default check.
svn path=/trunk/; revision=19406
-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;