-- Weitergeleitete Nachricht --
Subject: [PATCH 0/4] kconfig: Only activate UI save widgets when .config
changed; Take 3
Date: Dienstag, 10. Oktober 2006 15:33
From: Karsten Wiese [EMAIL PROTECTED]
To: kbuild-devel@lists.sourceforge.net
Cc: Sam Ravnborg [EMAIL PROTECTED], Roman Zippel
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.
Changes in Take 3:
Use
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
is an attribute of the .config's
change state.
Signed-off-by: Karsten Wiese [EMAIL PROTECTED]
---
scripts/kconfig/confdata.c | 20
scripts/kconfig/lkc.h |2 ++
scripts/kconfig/lkc_proto.h |1 -
scripts/kconfig/symbol.c|3
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]
---
scripts/kconfig/confdata.c | 12 +++-
scripts/kconfig/lkc_proto.h
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
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
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
committer
Am Freitag, 29. September 2006 00:34 schrieb Roman Zippel:
Hi,
On Thu, 28 Sep 2006, karsten wiese wrote:
enable/disable the qt- and gtk-gui configurator's
save toolbar-button/menu-entry.
The qt-configurator asks the user, if he want's to save the changed
.config
Use new stuff from patch 1/4 to omit weired
Do you wish to save your new kernel configuration? question.
Signed-off-by: Karsten Wiese [EMAIL PROTECTED]
diff -pur 2.6.18/scripts/kconfig/mconf.c rt3-kw/scripts/kconfig/mconf.c
--- 2.6.18/scripts/kconfig/mconf.c 2006-06-18 03:49:35.0
Use new stuff from patch 1/4 to set save widgets
sensitivity according to sym_change_count.
Signed-off-by: Karsten Wiese [EMAIL PROTECTED]
diff -pur 2.6.18/scripts/kconfig/gconf.c rt3-kw/scripts/kconfig/gconf.c
--- 2.6.18/scripts/kconfig/gconf.c 2006-09-23 20:03:17.0 +0200
void sym_change_count_changed_set(void (*fn)(int))
.
Signed-off-by: Karsten Wiese [EMAIL PROTECTED]
--- 2.6.18/scripts/kconfig/conf.c 2006-09-23 20:03:17.0 +0200
+++ 2.6.18-kw/scripts/kconfig/conf.c2006-09-24 14:24:58.0 +0200
@@ -600,7 +600,7 @@ int main(int ac
Tested for make config, menuconfig, gconfig xconfig.
Not shure, if I forgot anything.
Signed-off-by: Karsten Wiese [EMAIL PROTECTED]
___
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo
Use new stuff from patch 1/4 to set save widgets
sensitivity according to sym_change_count.
Signed-off-by: Karsten Wiese [EMAIL PROTECTED]
diff -pur 2.6.18/scripts/kconfig/qconf.cc rt3-kw/scripts/kconfig/qconf.cc
--- 2.6.18/scripts/kconfig/qconf.cc 2006-09-23 20:03:17.0 +0200
15 matches
Mail list logo