From: Thomas Petazzoni Date: Mon, 20 Jul 2009 21:47:42 +0000 (+0200) Subject: xconfig: Change titlebar to Buildroot Configuration X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=69f982cdade4050c89ab8ebfd97d43288e625179;p=buildroot.git xconfig: Change titlebar to Buildroot Configuration Signed-off-by: Thomas Petazzoni --- diff --git a/package/config/kconfig-to-buildroot2.patch b/package/config/kconfig-to-buildroot2.patch index 8e7ce42ad0..5f5d8ee7f8 100644 --- a/package/config/kconfig-to-buildroot2.patch +++ b/package/config/kconfig-to-buildroot2.patch @@ -7,10 +7,11 @@ gconf.c | 4 - gconf.glade | 2 mconf.c | 39 +++++++++---------- + qconf.cc | 3 - util.c | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++- zconf.tab.c_shipped | 2 zconf.y | 2 - 11 files changed, 238 insertions(+), 101 deletions(-) + 12 files changed, 239 insertions(+), 103 deletions(-) Index: config/Makefile =================================================================== @@ -726,6 +727,20 @@ Index: config/mconf.c + return conf_write_autoconf(); } +Index: config/qconf.cc +=================================================================== +--- config.orig/qconf.cc ++++ config/qconf.cc +@@ -1277,8 +1277,7 @@ + char title[256]; + + QDesktopWidget *d = configApp->desktop(); +- snprintf(title, sizeof(title), _("Linux Kernel v%s Configuration"), +- getenv("KERNELVERSION")); ++ snprintf(title, sizeof(title), _("Buildroot Configuration")); + setCaption(title); + + width = configSettings->readNumEntry("/window width", d->width() - 64); Index: config/util.c =================================================================== --- config.orig/util.c diff --git a/package/config/qconf.cc b/package/config/qconf.cc index ce7d508c75..3e539c1c7a 100644 --- a/package/config/qconf.cc +++ b/package/config/qconf.cc @@ -1277,8 +1277,7 @@ ConfigMainWindow::ConfigMainWindow(void) char title[256]; QDesktopWidget *d = configApp->desktop(); - snprintf(title, sizeof(title), _("Linux Kernel v%s Configuration"), - getenv("KERNELVERSION")); + snprintf(title, sizeof(title), _("Buildroot Configuration")); setCaption(title); width = configSettings->readNumEntry("/window width", d->width() - 64);