Always retrieve the location id from gnome_config

2001-07-30  Bradford Hovinen  <hovinen@ximian.com>

	* archive.c (archive_get_current_location_id): Always retrieve
	the location id from gnome_config
This commit is contained in:
Bradford Hovinen 2001-07-30 14:25:57 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent bd3a67e6b6
commit aed49db337
2 changed files with 6 additions and 0 deletions

View file

@ -515,7 +515,9 @@ archive_get_current_location_id (Archive *archive)
g_return_val_if_fail (archive != NULL, NULL);
g_return_val_if_fail (IS_ARCHIVE (archive), NULL);
#if 0
if (archive->current_location_id == NULL) {
#endif
if (archive->is_global)
archive->current_location_id =
gnome_config_get_string_with_default
@ -540,7 +542,9 @@ archive_get_current_location_id (Archive *archive)
return NULL;
}
}
#if 0
}
#endif
return archive->current_location_id;
}