summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2009-07-20 21:47:42 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2009-07-27 14:07:04 (GMT)
commit69f982cdade4050c89ab8ebfd97d43288e625179 (patch)
treebed2164135594023480acea8e90853419a10259f
parentb0df9df39ad76bdf89d1f58996cd4a1c2632b47c (diff)
downloadbuildroot-69f982cdade4050c89ab8ebfd97d43288e625179.tar.gz
buildroot-69f982cdade4050c89ab8ebfd97d43288e625179.tar.bz2
xconfig: Change titlebar to Buildroot Configuration
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/config/kconfig-to-buildroot2.patch17
-rw-r--r--package/config/qconf.cc3
2 files changed, 17 insertions, 3 deletions
diff --git a/package/config/kconfig-to-buildroot2.patch b/package/config/kconfig-to-buildroot2.patch
index 8e7ce42..5f5d8ee 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 ce7d508..3e539c1 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);