Save metadata immediately
2001-04-24 Bradford Hovinen <hovinen@ximian.com> * location.c (location_add_backend): (location_remove_backend): Save metadata immediately
This commit is contained in:
parent
91012a3fac
commit
6ea2d34dd5
2 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
2001-04-24 Bradford Hovinen <hovinen@ximian.com>
|
2001-04-24 Bradford Hovinen <hovinen@ximian.com>
|
||||||
|
|
||||||
* location.c (location_store): Use read rather than fread
|
* location.c (location_store): Use read rather than fread
|
||||||
|
(location_add_backend):
|
||||||
|
(location_remove_backend): Save metadata immediately
|
||||||
|
|
||||||
2001-04-23 Bradford Hovinen <hovinen@ximian.com>
|
2001-04-23 Bradford Hovinen <hovinen@ximian.com>
|
||||||
|
|
||||||
|
|
|
@ -873,6 +873,8 @@ location_add_backend (Location *location, gchar *backend_id,
|
||||||
backend_note_new (backend_id, type));
|
backend_note_new (backend_id, type));
|
||||||
location->p->contains_list_dirty = TRUE;
|
location->p->contains_list_dirty = TRUE;
|
||||||
|
|
||||||
|
save_metadata (location);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -909,6 +911,8 @@ location_remove_backend (Location *location, gchar *backend_id)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
save_metadata (location);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue