]> err.no Git - mapper/commitdiff
Use larger map tile cache on desktops
authorKaj-Michael Lang <milang@tal.org>
Fri, 25 Apr 2008 10:22:08 +0000 (13:22 +0300)
committerKaj-Michael Lang <milang@tal.org>
Fri, 25 Apr 2008 10:22:08 +0000 (13:22 +0300)
src/ui-common.c

index be7964c6fba6ce92c69a28fcf65bfcbcd233f3a7..932960c18391938f837f905cd1d25610bb947ec1 100644 (file)
@@ -701,6 +701,10 @@ ui_notebook.map=gtk_notebook_append_page(notebook, mapvbox, label);
 _map_widget = map_new();
 gtk_paned_add2(GTK_PANED(hbox), _map_widget);
 
+#ifndef WITH_DEVICE_770
+map_set_cache_size(256);
+#endif
+
 /* GPS Tab */
 vbox = gtk_vbox_new(FALSE, 0);
 label = gtk_label_new("Gps");