From: Randy Dunlap <rdunlap@xenotime.net>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: lkml <linux-kernel@vger.kernel.org>, zippel@linux-m68k.org
Subject: Re: [PATCH] xconfig: set title bar
Date: Sat, 20 Oct 2007 11:18:47 -0700 [thread overview]
Message-ID: <20071020111847.a5cfb02c.rdunlap@xenotime.net> (raw)
In-Reply-To: <20071020171403.GD6855@uranus.ravnborg.org>
On Sat, 20 Oct 2007 19:14:03 +0200 Sam Ravnborg wrote:
> I found this one to work:
> + setCaption("hello my little world");
Thanks, your search expressions were better than mine.
> We should show the prompt associated with mainmenu here.
You want all 3 of them converted to
symbol_value(mainmenu) + $KERNELVERSION
?
---
From: Randy Dunlap <randy.dunlap@oracle.com>
Put kernel version info on title bar in xconfig (qconf) instead of
defaulting to "qconf".
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
scripts/kconfig/qconf.cc | 4 ++++
1 file changed, 4 insertions(+)
--- linux-2.6.23-git13.orig/scripts/kconfig/qconf.cc
+++ linux-2.6.23-git13/scripts/kconfig/qconf.cc
@@ -1274,8 +1274,12 @@ ConfigMainWindow::ConfigMainWindow(void)
QMenuBar* menu;
bool ok;
int x, y, width, height;
+ char title[256];
QWidget *d = configApp->desktop();
+ sprintf(title, _("Linux Kernel v%s Configuration"),
+ getenv("KERNELVERSION"));
+ setCaption(title);
width = configSettings->readNumEntry("/window width", d->width() - 64);
height = configSettings->readNumEntry("/window height", d->height() - 64);
next prev parent reply other threads:[~2007-10-20 18:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-19 21:55 Randy Dunlap
2007-10-20 17:14 ` Sam Ravnborg
2007-10-20 18:12 ` Sam Ravnborg
2007-10-20 18:14 ` Randy Dunlap
2007-10-20 18:18 ` Randy Dunlap [this message]
2007-10-20 18:30 ` Sam Ravnborg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071020111847.a5cfb02c.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
--cc=zippel@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®