mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-31 15:07:43 +00:00
xconfig: Change titlebar to Buildroot Configuration
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
b0df9df39a
commit
69f982cdad
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user