(parse_default_uri): Remove bogus is_default check.
svn path=/trunk/; revision=19406
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
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
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user