Updating branch refs/heads/master to 1caf2f503e34b8a81d7515dc6f664365bc535ed0 (commit) from f3dc96f59c14bb58c2ff4dd443f86d851add4f32 (commit)
commit 1caf2f503e34b8a81d7515dc6f664365bc535ed0 Author: Juha Kautto <j...@xfce.org> Date: Tue Jan 18 18:55:00 2011 +0200 4.8.0.2: fixed bug 7118 orage shows wrong category when editing an event Orage showed wrong category from the list when editing an event with special list selected category. configure.in.in | 2 +- src/appointment.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.in.in b/configure.in.in index 561c0f1..7ddb008 100644 --- a/configure.in.in +++ b/configure.in.in @@ -9,7 +9,7 @@ dnl Written for Xfce by Juha Kautto <j...@xfce.org> dnl dnl Version information -m4_define([orage_version], [4.8.0.1-git]) +m4_define([orage_version], [4.8.0.2-git]) m4_define([gtk_minimum_version], [2.10.0]) m4_define([xfce_minimum_version], [4.6.0]) diff --git a/src/appointment.c b/src/appointment.c index a029ecd..275f2b1 100644 --- a/src/appointment.c +++ b/src/appointment.c @@ -1765,7 +1765,8 @@ static gboolean category_fill_cb(GtkComboBox *cb, char *selection) for (i = 0; cat_gourps[i] != NULL; i++) { gtk_combo_box_append_text(cb, (const gchar *)cat_gourps[i]); if (!found && selection && !strcmp(selection, cat_gourps[i])) { - gtk_combo_box_set_active(cb, i); + /* +1 as we have _("Not set") there first */ + gtk_combo_box_set_active(cb, i+1); found = TRUE; } } _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits