[evolution-patches] Not disabling "New Event" etc when calendar is read only




-JP
-- 
JP Rosevear <jpr novell com>
Novell, Inc.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2464
diff -u -r1.2464 ChangeLog
--- ChangeLog	28 Jul 2004 18:03:32 -0000	1.2464
+++ ChangeLog	29 Jul 2004 15:54:11 -0000
@@ -1,3 +1,9 @@
+2004-07-29  JP Rosevear  <jpr ximian com>
+
+	* gui/e-calendar-view.c: creating new items no longer needs to be
+	disabled since the user can switch to a writable calendar and the
+	editor ui is disabled properly
+
 2004-07-27  JP Rosevear  <jpr novell com>
 
 	Fixes #62006
Index: gui/e-calendar-view.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/e-calendar-view.c,v
retrieving revision 1.60
diff -u -r1.60 e-calendar-view.c
--- gui/e-calendar-view.c	14 Jul 2004 02:20:55 -0000	1.60
+++ gui/e-calendar-view.c	29 Jul 2004 15:54:15 -0000
@@ -1333,10 +1333,10 @@
 };
 
 static EPopupMenu main_items [] = {
-	E_POPUP_ITEM (N_("New _Appointment..."), GTK_SIGNAL_FUNC (on_new_appointment), MASK_EDITABLE),
-	E_POPUP_ITEM (N_("New All Day _Event"), GTK_SIGNAL_FUNC (on_new_event), MASK_EDITABLE),
-	E_POPUP_ITEM (N_("New Meeting"), GTK_SIGNAL_FUNC (on_new_meeting), MASK_EDITABLE),
-	E_POPUP_ITEM (N_("New Task"), GTK_SIGNAL_FUNC (on_new_task), MASK_EDITABLE),
+	E_POPUP_ITEM (N_("New _Appointment..."), GTK_SIGNAL_FUNC (on_new_appointment), 0),
+	E_POPUP_ITEM (N_("New All Day _Event"), GTK_SIGNAL_FUNC (on_new_event), 0),
+	E_POPUP_ITEM (N_("New Meeting"), GTK_SIGNAL_FUNC (on_new_meeting), 0),
+	E_POPUP_ITEM (N_("New Task"), GTK_SIGNAL_FUNC (on_new_task), 0),
 
 	E_POPUP_SEPARATOR,
 


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