[PATCH] Immediately update integer and string values in xconfig display

From: Karsten Wiese
Date: Tue Dec 26 2006 - 14:35:20 EST

In xconfig's display integer and string values are also shown as part of
the config item's descriptive text.
This patch updates the descriptive text, when the corresponding
value has been changed.
Fix for http://bugzilla.kernel.org/show_bug.cgi?id=7744

Signed-off-by: Karsten Wiese <fzu@xxxxxxxxxxxxxxxxxxxxx>

--- rc1/scripts/kconfig/qconf.cc 2006-12-23 21:35:12.000000000 +0100
+++ rc1-rt6-kw/scripts/kconfig/qconf.cc 2006-12-26 18:51:51.000000000 +0100
@@ -89,6 +89,8 @@ void ConfigItem::okRename(int col)
sym_set_string_value(menu->sym, text(dataColIdx).latin1());
+ sym_calc_value(menu->sym);
+ updateMenu();

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/