From c77f73c18bba99728178057fcce0441aab3a4026 Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Sun, 25 Sep 2011 19:47:11 +0000 Subject: [PATCH] Leave nop sites out of the preference dialog --- src/aweather-gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aweather-gui.c b/src/aweather-gui.c index e3ef2ab..0f87d43 100644 --- a/src/aweather-gui.c +++ b/src/aweather-gui.c @@ -355,7 +355,7 @@ static void site_setup(AWeatherGui *self) gtk_tree_store_append(store, &state, NULL); gtk_tree_store_set (store, &state, 0, cities[i].code, 1, cities[i].name, -1); - } else { + } else if (cities[i].type == LOCATION_CITY) { gtk_tree_store_append(store, &city, &state); gtk_tree_store_set (store, &city, 0, cities[i].code, 1, cities[i].name, -1); -- 2.43.2