Updating branch refs/heads/master to f0a4e5fb9ffb4a96cb1af9dc6ba6f350eab0b7e5 (commit) from 107042c717197e1897c7445f59ac3f7b47394dd8 (commit)
commit f0a4e5fb9ffb4a96cb1af9dc6ba6f350eab0b7e5 Author: Harald Judt <h.j...@gmx.at> Date: Mon Jul 2 12:29:01 2012 +0200 Fix available labels in configuration dialog. Remove a remnant hardcoded value from before the migration. panel-plugin/weather-config.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/panel-plugin/weather-config.c b/panel-plugin/weather-config.c index a211823..3716ff8 100644 --- a/panel-plugin/weather-config.c +++ b/panel-plugin/weather-config.c @@ -30,7 +30,7 @@ #include "weather-search.h" #include "weather-scrollbox.h" -#define OPTIONS_N 12 +#define OPTIONS_N 13 #define BORDER 8 static const labeloption labeloptions[OPTIONS_N] = { @@ -140,7 +140,7 @@ make_label (void) menu = gtk_menu_new (); widget = gtk_option_menu_new (); - for (i = 0; i < 11; i++) + for (i = 0; i < OPTIONS_N; i++) { labeloption opt = labeloptions[i]; _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits