]> Pileus Git - aweather/blobdiff - src/aweather-gui.c
Update locations file
[aweather] / src / aweather-gui.c
index 3eba756b4c56a25c41fc4ee637cccdc7e317df3b..6c5b5a638e925a21aee8bba290c29623eda23c69 100644 (file)
@@ -246,7 +246,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);