aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-11-24 18:51:18 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-11-24 18:51:18 +0800
commitda439c7f3b3dbea2e531a242ef2ff1765443dc7e (patch)
tree7f8b270ba83c2e55176218c8cedfd8713793e61a
parent862aa803c3489cfbfe85ee4069f21c52be3b4065 (diff)
downloadgsoc2013-evolution-da439c7f3b3dbea2e531a242ef2ff1765443dc7e.tar
gsoc2013-evolution-da439c7f3b3dbea2e531a242ef2ff1765443dc7e.tar.gz
gsoc2013-evolution-da439c7f3b3dbea2e531a242ef2ff1765443dc7e.tar.bz2
gsoc2013-evolution-da439c7f3b3dbea2e531a242ef2ff1765443dc7e.tar.lz
gsoc2013-evolution-da439c7f3b3dbea2e531a242ef2ff1765443dc7e.tar.xz
gsoc2013-evolution-da439c7f3b3dbea2e531a242ef2ff1765443dc7e.tar.zst
gsoc2013-evolution-da439c7f3b3dbea2e531a242ef2ff1765443dc7e.zip
disable editing items if the selected task list is read only, not if it's
2003-11-24 Rodrigo Moya <rodrigo@ximian.com> * gui/e-calendar-table.c (e_calendar_table_show_popup_menu): disable editing items if the selected task list is read only, not if it's not. svn path=/trunk/; revision=23480
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/e-calendar-table.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index b0de5f4a00..18e3b9ba9c 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,10 @@
2003-11-24 Rodrigo Moya <rodrigo@ximian.com>
+ * gui/e-calendar-table.c (e_calendar_table_show_popup_menu): disable
+ editing items if the selected task list is read only, not if it's not.
+
+2003-11-24 Rodrigo Moya <rodrigo@ximian.com>
+
* gui/dialogs/new-task-list.glade:
* gui/dialogs/new-task-list.[ch]: new files containing the
implementation of the 'New Task List' dialog.
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c
index 173887dab5..fc14a50800 100644
--- a/calendar/gui/e-calendar-table.c
+++ b/calendar/gui/e-calendar-table.c
@@ -1075,7 +1075,7 @@ e_calendar_table_show_popup_menu (ETable *table,
hide_mask = MASK_SINGLE;
e_cal_is_read_only (comp_data->client, &read_only, NULL);
- if (!read_only)
+ if (read_only)
disable_mask |= MASK_EDITABLE;
if (e_cal_get_static_capability (comp_data->client, CAL_STATIC_CAPABILITY_NO_TASK_ASSIGNMENT))