Commit:     f253f00003c3fed0355cf49482f24c56bc5dbea6
Parent:     786fb18d015cc5f34284d426e055ddd7a3dbb53b
Author:     Cyrill V. Gorcunov <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 14 00:33:00 2007 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Feb 14 08:09:52 2007 -0800

    [PATCH] qconf: Back button behaviour normalization
    Do "Back" button behaviour normalization so it is enabled starting from
    second-level menu only.
    Signed-off-by: Cyrill V. Gorcunov <[EMAIL PROTECTED]>
    Cc: Roman Zippel <[EMAIL PROTECTED]>
    Cc: Sam Ravnborg <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 scripts/kconfig/ |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/scripts/kconfig/ b/scripts/kconfig/
index 9912445..0981d2a 100644
--- a/scripts/kconfig/
+++ b/scripts/kconfig/
@@ -1472,7 +1472,10 @@ void ConfigMainWindow::searchConfig(void)
 void ConfigMainWindow::changeMenu(struct menu *menu)
-       backAction->setEnabled(TRUE);
+       if (configList->rootEntry->parent == &rootmenu)
+               backAction->setEnabled(FALSE);
+       else
+               backAction->setEnabled(TRUE);
 void ConfigMainWindow::setMenuLink(struct menu *menu)
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

Reply via email to