From 69f982cdade4050c89ab8ebfd97d43288e625179 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Mon, 20 Jul 2009 23:47:42 +0200 Subject: xconfig: Change titlebar to Buildroot Configuration Signed-off-by: Thomas Petazzoni --- package/config/kconfig-to-buildroot2.patch | 17 ++++++++++++++++- package/config/qconf.cc | 3 +-- 2 files changed, 17 insertions(+), 3 deletions(-) (limited to 'package') diff --git a/package/config/kconfig-to-buildroot2.patch b/package/config/kconfig-to-buildroot2.patch index 8e7ce42ad..5f5d8ee7f 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 ce7d508c7..3e539c1c7 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); -- cgit v1.2.3