edit-dialog: make number of occurrences accept only numeric input
Set the numeric property of number of occurrences spin button to TRUE so that it only accepts numeric input. https://bugzilla.gnome.org/show_bug.cgi?id=782755
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
b7de0f3e1f
commit
1ad72b61a3
@@ -1279,6 +1279,8 @@ gcal_edit_dialog_set_event (GcalEditDialog *dialog,
|
||||
|
||||
gtk_spin_button_set_adjustment (GTK_SPIN_BUTTON (dialog->number_of_occurrences_spin), count_adjustment);
|
||||
|
||||
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (dialog->number_of_occurrences_spin), TRUE);
|
||||
|
||||
/* If we just set the event to NULL, simply send a property notify */
|
||||
if (!event)
|
||||
GCAL_GOTO (out);
|
||||
|
||||
Reference in New Issue
Block a user