From: Shlomi Fish <shlomif@iglu.org.il>
To: linux-kernel@vger.kernel.org
Subject: [PATCH 2.6.20-rc4] qconf Reloate Search Command
Date: Thu, 11 Jan 2007 16:04:09 +0200 [thread overview]
Message-ID: <200701111604.09343.shlomif@iglu.org.il> (raw)
[-- Attachment #1: Type: text/plain, Size: 613 bytes --]
Hi all!
[ I'm not subscribed to this list so please CC me on your replies. ]
This is a patch that relocates the qconf search command to the "Edit"->"Find"
menu option.
This is per the discussion on my qconf search dialog patch.
The patch was tested against kernel 2.6.20-rc4.
Enjoy!
Regards,
Shlomi Fish
---------------------------------------------------------------------
Shlomi Fish shlomif@iglu.org.il
Homepage: http://www.shlomifish.org/
Chuck Norris wrote a complete Perl 6 implementation in a day but then
destroyed all evidence with his bare hands, so no one will know his secrets.
[-- Attachment #2: relocate-search-02.diff --]
[-- Type: text/x-diff, Size: 1225 bytes --]
--- linux-2.6.20-rc4/scripts/kconfig/qconf.cc.orig 2007-01-11 15:51:29.232975750 +0200
+++ linux-2.6.20-rc4/scripts/kconfig/qconf.cc 2007-01-11 16:01:02.897667032 +0200
@@ -1323,7 +1323,7 @@
conf_changed();
QAction *saveAsAction = new QAction("Save As...", "Save &As...", 0, this);
connect(saveAsAction, SIGNAL(activated()), SLOT(saveConfigAs()));
- QAction *searchAction = new QAction("Search", "&Search", CTRL+Key_F, this);
+ QAction *searchAction = new QAction("Find", "&Find", CTRL+Key_F, this);
connect(searchAction, SIGNAL(activated()), SLOT(searchConfig()));
QAction *singleViewAction = new QAction("Single View", QPixmap(xpm_single_view), "Split View", 0, this);
connect(singleViewAction, SIGNAL(activated()), SLOT(showSingleView()));
@@ -1380,10 +1380,13 @@
saveAction->addTo(config);
saveAsAction->addTo(config);
config->insertSeparator();
- searchAction->addTo(config);
- config->insertSeparator();
quitAction->addTo(config);
+ // create edit menu
+ QPopupMenu* editMenu = new QPopupMenu(this);
+ menu->insertItem("&Edit", editMenu);
+ searchAction->addTo(editMenu);
+
// create options menu
QPopupMenu* optionMenu = new QPopupMenu(this);
menu->insertItem("&Option", optionMenu);
reply other threads:[~2007-01-11 14:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200701111604.09343.shlomif@iglu.org.il \
--to=shlomif@iglu.org.il \
--cc=linux-kernel@vger.kernel.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