mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
xconfig: Change titlebar to Buildroot Configuration
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
@@ -7,10 +7,11 @@
|
|||||||
gconf.c | 4 -
|
gconf.c | 4 -
|
||||||
gconf.glade | 2
|
gconf.glade | 2
|
||||||
mconf.c | 39 +++++++++----------
|
mconf.c | 39 +++++++++----------
|
||||||
|
qconf.cc | 3 -
|
||||||
util.c | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++-
|
util.c | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++-
|
||||||
zconf.tab.c_shipped | 2
|
zconf.tab.c_shipped | 2
|
||||||
zconf.y | 2
|
zconf.y | 2
|
||||||
11 files changed, 238 insertions(+), 101 deletions(-)
|
12 files changed, 239 insertions(+), 103 deletions(-)
|
||||||
|
|
||||||
Index: config/Makefile
|
Index: config/Makefile
|
||||||
===================================================================
|
===================================================================
|
||||||
@@ -726,6 +727,20 @@ Index: config/mconf.c
|
|||||||
+ return conf_write_autoconf();
|
+ 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
|
Index: config/util.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- config.orig/util.c
|
--- config.orig/util.c
|
||||||
|
|||||||
@@ -1277,8 +1277,7 @@ ConfigMainWindow::ConfigMainWindow(void)
|
|||||||
char title[256];
|
char title[256];
|
||||||
|
|
||||||
QDesktopWidget *d = configApp->desktop();
|
QDesktopWidget *d = configApp->desktop();
|
||||||
snprintf(title, sizeof(title), _("Linux Kernel v%s Configuration"),
|
snprintf(title, sizeof(title), _("Buildroot Configuration"));
|
||||||
getenv("KERNELVERSION"));
|
|
||||||
setCaption(title);
|
setCaption(title);
|
||||||
|
|
||||||
width = configSettings->readNumEntry("/window width", d->width() - 64);
|
width = configSettings->readNumEntry("/window width", d->width() - 64);
|
||||||
|
|||||||
Reference in New Issue
Block a user