[PATCH] xconfig: set title bar

From: Randy Dunlap
Date: Fri Oct 19 2007 - 18:54:03 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

menuconfig and gconfig already place a title (or caption) on the top
bar of their window (or whatever that is properly called). However,
qconf (xconfig) just says "qconf". I tried to find a Qt API to set
the title but did not find one, so set the program title (caption)
by using the "-title <caption>" command line option instead.

This can be useful when someone has multiple qconf instances running,
to help differentiate which one is which.

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
---
scripts/kconfig/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.23-git13.orig/scripts/kconfig/Makefile
+++ linux-2.6.23-git13/scripts/kconfig/Makefile
@@ -5,7 +5,7 @@
PHONY += oldconfig xconfig gconfig menuconfig config silentoldconfig update-po-config

xconfig: $(obj)/qconf
- $< arch/$(ARCH)/Kconfig
+ $< arch/$(ARCH)/Kconfig -title "Linux v${KERNELVERSION} qconf"

gconfig: $(obj)/gconf
$< arch/$(ARCH)/Kconfig
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/