Re: Transactions/"journaling" in Gnome?
- From: Havoc Pennington <hp redhat com>
- To: Petr Tomasek <tomasek etf cuni cz>
- Cc: gnome-devel-list gnome org
- Subject: Re: Transactions/"journaling" in Gnome?
- Date: 17 Jun 2001 20:07:42 -0400
Petr Tomasek <tomasek etf cuni cz> writes:
> (I don't mean only config files: with GConf & libdb backend this should be,
> I guess, no issue. But what about general file saving. Should this go
> somwhere to gnome-vfs)?
Well both GConf and bonobo-config do this properly I think, so no
problem on configuration. There's no need to use the libdb backend,
plain GConf also won't lose data.
For generic API, it is pretty much just "save to temporary file, then
rename" - there's not a lot else to it. Except what to do when it
fails, I guess, which would have to be app-specific.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]