[gnome-calendar] edit-dialog: fix insensitive time choosers



commit 3560a9de433fd9e533bd480579717e3d4bd919c2
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Aug 29 23:20:45 2016 -0300

    edit-dialog: fix insensitive time choosers
    
    They are hidden now, no need to handle the sensitive
    state of them as well.

 src/gcal-edit-dialog.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/gcal-edit-dialog.c b/src/gcal-edit-dialog.c
index d83f491..ff54dd1 100644
--- a/src/gcal-edit-dialog.c
+++ b/src/gcal-edit-dialog.c
@@ -1052,8 +1052,6 @@ gcal_edit_dialog_set_event (GcalEditDialog *dialog,
       gcal_time_selector_set_time (GCAL_TIME_SELECTOR (dialog->end_time_selector), date_end);
 
       /* all_day  */
-      gtk_widget_set_sensitive (dialog->start_time_selector, dialog->writable && !all_day);
-      gtk_widget_set_sensitive (dialog->end_time_selector, dialog->writable && !all_day);
       gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dialog->all_day_check), all_day);
 
       /* location */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]