aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/lxdialog/util.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-03-18 10:48:46 +0100
committerSam Ravnborg <sam@ravnborg.org>2007-05-02 20:58:09 +0200
commit95e30f9593ebf39e26227a20ae8d9f160c50fb67 (patch)
tree1ad3db38f47f079c7cd71251849de7e9778f3ef6 /scripts/kconfig/lxdialog/util.c
parentkbuild: move tags from ARCH and include/ ahead of drivers (diff)
downloadlinux-dev-95e30f9593ebf39e26227a20ae8d9f160c50fb67.tar.xz
linux-dev-95e30f9593ebf39e26227a20ae8d9f160c50fb67.zip
menuconfig: remember alternate config filename
When loading an alternate configuration use that file as current configuration filename. Make the filename visible in the dialog. Default continue to be .config. Inspired by patch from: Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to '')
-rw-r--r--scripts/kconfig/lxdialog/util.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/kconfig/lxdialog/util.c b/scripts/kconfig/lxdialog/util.c
index a1a1354ba238..a1bddefe73d0 100644
--- a/scripts/kconfig/lxdialog/util.c
+++ b/scripts/kconfig/lxdialog/util.c
@@ -272,6 +272,11 @@ void init_dialog(const char *backtitle)
color_setup(getenv("MENUCONFIG_COLOR"));
}
+void set_dialog_backtitle(const char *backtitle)
+{
+ dlg.backtitle = backtitle;
+}
+
void reset_dialog(void)
{
initscr(); /* Init curses */