[california] Don't allow updating read-only calendars: Bug #733331



commit 632f0c6485903bc23e15fa0cb1eecd92f9481e7d
Author: Jim Nelson <jim yorba org>
Date:   Tue Jul 22 15:20:06 2014 -0700

    Don't allow updating read-only calendars: Bug #733331
    
    no-show-all strikes again.

 src/host/host-show-event.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/host/host-show-event.vala b/src/host/host-show-event.vala
index 0f82cdf..abf1fd7 100644
--- a/src/host/host-show-event.vala
+++ b/src/host/host-show-event.vala
@@ -123,10 +123,10 @@ public class ShowEvent : Gtk.Grid, Toolkit.Card {
         bool read_only = event.calendar_source != null && event.calendar_source.read_only;
         
         update_button.visible = !read_only;
-        update_button.no_show_all = !read_only;
+        update_button.no_show_all = read_only;
         
         remove_button.visible = !read_only;
-        remove_button.no_show_all = !read_only;
+        remove_button.no_show_all = read_only;
     }
     
     private string? escape(string? plain) {


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