diff options
author | Chenthill Palanisamy <pchenthill@novell.com> | 2004-09-05 21:25:03 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2004-09-05 21:25:03 +0800 |
commit | 7581a8ab9ba7ea0024df7fafa2ba72c36a27736b (patch) | |
tree | 01d54be3c782976f7dccf44d2faff82580068bb4 /calendar/gui/e-calendar-table.c | |
parent | 3d2e0af18dadf0a934958d86b2bf8e6739191126 (diff) | |
download | gsoc2013-evolution-7581a8ab9ba7ea0024df7fafa2ba72c36a27736b.tar gsoc2013-evolution-7581a8ab9ba7ea0024df7fafa2ba72c36a27736b.tar.gz gsoc2013-evolution-7581a8ab9ba7ea0024df7fafa2ba72c36a27736b.tar.bz2 gsoc2013-evolution-7581a8ab9ba7ea0024df7fafa2ba72c36a27736b.tar.lz gsoc2013-evolution-7581a8ab9ba7ea0024df7fafa2ba72c36a27736b.tar.xz gsoc2013-evolution-7581a8ab9ba7ea0024df7fafa2ba72c36a27736b.tar.zst gsoc2013-evolution-7581a8ab9ba7ea0024df7fafa2ba72c36a27736b.zip |
Check the static capability to enable or disable the assign tasks in the
2004-09-05 Chenthill Palanisamy <pchenthill@novell.com>
* gui/e-calendar-table.c
(e_calendar_table_show_popup_menu): Check the
static capability to enable or disable the assign
tasks in the popup menu.
* gui/dialogs/recurrence-page.c
(sensitize_buttons): Check for the static capability
to convert a existing appointment to recurrence appointment
for enabling or diabling the recurrence widgets.
svn path=/trunk/; revision=27152
Diffstat (limited to 'calendar/gui/e-calendar-table.c')
-rw-r--r-- | calendar/gui/e-calendar-table.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c index 08e5f30393..7eec950039 100644 --- a/calendar/gui/e-calendar-table.c +++ b/calendar/gui/e-calendar-table.c @@ -1133,6 +1133,9 @@ e_calendar_table_show_popup_menu (ETable *table, if (e_cal_get_static_capability (comp_data->client, CAL_STATIC_CAPABILITY_NO_TASK_ASSIGNMENT)) disable_mask |= MASK_ASSIGNABLE; + if (e_cal_get_static_capability (comp_data->client, CAL_STATIC_CAPABILITY_NO_CONV_TO_ASSIGN_TASK)) + disable_mask |= MASK_ASSIGNABLE; + setup_popup_icons (tasks_popup_menu); gtk_menu = e_popup_menu_create (tasks_popup_menu, disable_mask, hide_mask, cal_table); |