From 25d760278313fa239915ca6984e8ad83654da085 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Thu, 25 Oct 2007 23:50:49 +0300 Subject: [PATCH] Use "square" POI theme --- src/map-poi.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/map-poi.c b/src/map-poi.c index e897ee4..42ac9e5 100644 --- a/src/map-poi.c +++ b/src/map-poi.c @@ -23,6 +23,8 @@ static PangoLayout *layout = NULL; static PangoFontDescription *fontdesc = NULL; static GdkGC *poi_gc; +static gchar *theme="square"; + gboolean map_poi_init(GtkWidget *map_widget) { @@ -59,8 +61,8 @@ GError *error = NULL; if (icon==NULL) return NULL; -g_snprintf(buffer, sizeof(buffer), DATADIR "/map-icons/classic.%s/%s.png", - (_zoom<2) ? "big" : "small", icon); +g_snprintf(buffer, sizeof(buffer), DATADIR "/map-icons/%s.%s/%s.png", + theme, (_zoom<2) ? "big" : "small", icon); pixbuf = g_hash_table_lookup(poi_icon_hash, buffer); if (pixbuf) -- 2.39.5