Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a54bb701c248d65f761d366f94f2809abdc39f04
Commit:     a54bb701c248d65f761d366f94f2809abdc39f04
Parent:     0b463ff139d8f911f90c1d33a53aba094ed45907
Author:     Randy Dunlap <[EMAIL PROTECTED]>
AuthorDate: Sat Oct 20 11:18:47 2007 -0700
Committer:  Sam Ravnborg <[EMAIL PROTECTED](none)>
CommitDate: Sat Oct 20 20:16:50 2007 +0200

    kconfig: set title bar in xconfig
    
    Put kernel version info on title bar in xconfig (qconf) instead of
    defaulting to "qconf".
    
    Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]>
    Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]>
---
 scripts/kconfig/qconf.cc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index e4eeb59..b9bb32d 100644
--- a/scripts/kconfig/qconf.cc
+++ b/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();
+       snprintf(title, sizeof(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);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to