diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2004-04-15 19:16:23 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2004-04-15 19:16:23 +0800 |
commit | 93400cff94b1fd9253cddad531f1069d94e0fffd (patch) | |
tree | a13a92d634c168aaa0ea09258c1feffa50040ce6 /calendar/gui/migration.c | |
parent | be6c8af7c8875a47fcf745f38c81f21b4bedbc15 (diff) | |
download | gsoc2013-evolution-93400cff94b1fd9253cddad531f1069d94e0fffd.tar.gz gsoc2013-evolution-93400cff94b1fd9253cddad531f1069d94e0fffd.tar.zst gsoc2013-evolution-93400cff94b1fd9253cddad531f1069d94e0fffd.zip |
use the DTSTART for the recur-id if it's not available.
2004-04-15 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence):
use the DTSTART for the recur-id if it's not available.
svn path=/trunk/; revision=25476
Diffstat (limited to 'calendar/gui/migration.c')
-rw-r--r-- | calendar/gui/migration.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/calendar/gui/migration.c b/calendar/gui/migration.c index e4534b1243..c2f94cf574 100644 --- a/calendar/gui/migration.c +++ b/calendar/gui/migration.c @@ -351,6 +351,7 @@ migrate_ical_folder (char *old_path, ESourceGroup *dest_group, char *source_name #define WEBCAL_BASE_URI "webcal://" #define CONTACTS_BASE_URI "contacts://" +#define BAD_CONTACTS_BASE_URI "contact://" #define PERSONAL_RELATIVE_URI "system" static ESourceGroup * @@ -404,6 +405,12 @@ create_calendar_sources (CalendarComponent *component, group = E_SOURCE_GROUP (g->data); + if (!strcmp (BAD_CONTACTS_BASE_URI, e_source_group_peek_base_uri (group))) + e_source_group_set_base_uri (group, CONTACTS_BASE_URI); + + if (!strcmp (base_uri, e_source_group_peek_base_uri (group))) + e_source_group_set_base_uri (group, base_uri_proto); + if (!*on_this_computer && !strcmp (base_uri_proto, e_source_group_peek_base_uri (group))) *on_this_computer = g_object_ref (group); else if (!*on_the_web && !strcmp (WEBCAL_BASE_URI, e_source_group_peek_base_uri (group))) |