diff options
author | JP Rosevear <jpr@ximian.com> | 2001-10-10 22:37:14 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-10-10 22:37:14 +0800 |
commit | 1359335208dd9260b6b0541b692e534fa70bed7b (patch) | |
tree | 8d707e092305448cb3194b5b0a853c706b661da9 /calendar/pcs | |
parent | a46bcc8084af31a5cb86b0b5305298e94250c5f9 (diff) | |
download | gsoc2013-evolution-1359335208dd9260b6b0541b692e534fa70bed7b.tar.gz gsoc2013-evolution-1359335208dd9260b6b0541b692e534fa70bed7b.tar.zst gsoc2013-evolution-1359335208dd9260b6b0541b692e534fa70bed7b.zip |
fix logic checks
2001-10-10 JP Rosevear <jpr@ximian.com>
* pcs/cal-factory.c (add_uri): fix logic checks
* gui/dialogs/event-editor.c (event_editor_init): init the
exisiting_org boolean
(set_menu_sens): base sensitivity on existing_org boolean
(event_editor_edit_comp): set exisiting_org boolean
* gui/dialogs/task-editor.c: same as above
* gui/calendar-offline-handler.c (add_connection): handle the
protocol or host being unknown
* cal-util/cal-component.c (cal_component_has_organizer):
implement
svn path=/trunk/; revision=13552
Diffstat (limited to 'calendar/pcs')
-rw-r--r-- | calendar/pcs/cal-factory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/pcs/cal-factory.c b/calendar/pcs/cal-factory.c index a404ee49f4..d962b22862 100644 --- a/calendar/pcs/cal-factory.c +++ b/calendar/pcs/cal-factory.c @@ -349,12 +349,12 @@ add_uri (gpointer key, gpointer value, gpointer data) switch (mode) { case GNOME_Evolution_Calendar_MODE_LOCAL: backend = lookup_backend (factory, uri_string); - if (backend == NULL && cal_backend_get_mode (backend) == CAL_MODE_LOCAL) + if (backend == NULL || cal_backend_get_mode (backend) != CAL_MODE_LOCAL) return; break; case GNOME_Evolution_Calendar_MODE_REMOTE: backend = lookup_backend (factory, uri_string); - if (backend == NULL && cal_backend_get_mode (backend) == CAL_MODE_REMOTE) + if (backend == NULL || cal_backend_get_mode (backend) != CAL_MODE_REMOTE) return; break; case GNOME_Evolution_Calendar_MODE_ANY: |