summaryrefslogtreecommitdiff
path: root/package/config
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2009-07-20 23:47:42 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2009-07-27 16:07:04 +0200
commit69f982cdade4050c89ab8ebfd97d43288e625179 (patch)
treebed2164135594023480acea8e90853419a10259f /package/config
parentb0df9df39ad76bdf89d1f58996cd4a1c2632b47c (diff)
xconfig: Change titlebar to Buildroot Configuration
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/config')
-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 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);