]> err.no Git - mapper/commitdiff
Set mapwidget repo
authorKaj-Michael Lang <milang@tal.org>
Thu, 31 Jul 2008 14:13:57 +0000 (17:13 +0300)
committerKaj-Michael Lang <milang@tal.org>
Thu, 31 Jul 2008 14:13:57 +0000 (17:13 +0300)
src/map-repo-manager.c

index 52df2731066612eaa7497da840304ac14e5d3a4b..f307718885c375840057e67e35e43f185b5964f4 100644 (file)
@@ -106,6 +106,7 @@ gboolean
 repo_set_curr(RepoData *rd)
 {
 _curr_repo=rd;
+gtk_map_set_tile_repository(_map, _curr_repo);
 if (map_tile_repo_make_cache_dir(rd)==FALSE) {
        gchar buffer[BUFFER_SIZE];
        g_snprintf(buffer, sizeof(buffer), "%s: %s", _("Unable to create cache directory for repository"), rd->name);