GNOME Bugzilla – Bug 787054
When the number of occurrences is set to 1, consider the event as non recurring
Last modified: 2017-09-12 14:48:31 UTC
It would be nice when an event is set to have number of occurrences to be 1, save it as non-recurring event.
Or alternatively and even better way to do it would be to set the minimum value of the Number of recurrences spin button to 2.
Created attachment 359567 [details] [review] It sets the minimum value of spin button as 2.
Review of attachment 359567 [details] [review]: Hi, The code looks good. Though the following minor improvements to patch is required: * Set the Author name and email. Right now it is some garbage * Improve commit message: You don't require to include the whole file name (Also, as gcal is common, you may better avoid it). So you can replace gcal-edit-dialog.c with edit-dialog. (Different projects have different rules. So you might find a different style for some other project). Insert a space after colon An improvement to commit message is also desirable. * Also Include the url of the bug in the patch. Please see https://wiki.gnome.org/Newcomers/SubmitPatch Thanks
Created attachment 359580 [details] [review] It sets the minimum value of recurrence as 2. Made the changes as asked.
Created attachment 359581 [details] [review] Updated commit message
Created attachment 359583 [details] [review] Set the minimum value of recurrence spin button as 2
Created attachment 359636 [details] [review] It sets the minimum value of recurrence as 2. Updated commit message.
Thanks. Pushed with minor changes.
pushed to a5d1d9d
eh, see https://git.gnome.org/browse/gnome-calendar/commit/?id=a5d1d9dc99419aab2d1fdfa8dcf6e2d0cfbff009