Hi
the patchset sent following up tries to implement
functionality for *config's UIs
to know a .config's change state.
to accordingly
set GUI's save-widgets sensitivity,
remind the user to save changes.
Comments welcome.
Karsten
Returns sym_change_count to reflect the .config's change state.
All read only accesses of
sym_change_count
are replaced by calls to
conf_get_changed()
.
mconfig.c is manipulated to ask for saving only when
conf_get_changed() returned true.
Signed-off-by: Karsten Wiese <[EMAIL PROT
Those two functions are
void sym_set_change_count(int count)
and
void sym_add_change_count(int count)
.
All write accesses to sym_change_count are replaced by calls to
above functions.
Variable and changer-functions are moved to confdata.c.
IMO thats ok, as sym_change_count is an a
Added function sets "void (*conf_changed_callback)(void)".
Call it, if .config's changed state changes.
Use above in qconf.cc to set gui's save-widget's sensitvity.
Signed-off-by: Karsten Wiese <[EMAIL PROTECTED]>
---
commit e5420182eacae2b8a2a4db2e61fa11c4d5c78fa8
tree 116d77e320f08436b59a552c0
Cleaned up a little.
Signed-off-by: Karsten Wiese <[EMAIL PROTECTED]>
---
commit 21e8828db88ec8454b6d6ae9e82c0ba40ff466ca
tree 28e1ddd803e93fe2fc87610bb6abcfb0ea49
parent e5420182eacae2b8a2a4db2e61fa11c4d5c78fa8
author Karsten Wiese <[EMAIL PROTECTED]> Sat, 07 Oct 2006 20:23:31 +0200
committ