[PATCH 2.6.20-rc4] qconf Reloate Search Command



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@xxxxxxxxxxx
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.
--- 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);


Relevant Pages

  • [PATCH 2.6.23-rc4] qconf ("make xconfig") Search Dialog Enhancement
    ... This patch is against kernel-2.6.23-rc4, and aims to enhance the "make ... Shlomi Fish shlomif@xxxxxxxxxxx ... struct symbol **p; ... QSplitter* split1; ...
    (Linux-Kernel)
  • Re: IPFIREWALL or PF
    ... Talon) wrote: ... I'm not into kernel mods and testing. ... I'm certainly not in any position to verify such a patch as was offered; given the wording of the patch, I wasn't entirely convinced about the motives of the writer; given the sheer length of it, I wasn't entirely convinced about the basic structure of pf either :-) ... Please use the corrected version of the address below for replies. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: [PATCH 2.6.20-rc3] qconf Search Dialog
    ... On Wednesday 03 January 2007 23:05, Sam Ravnborg wrote: ... code, or replacing it entirely. ... So one patch where you move the dialog and another where you improve ... Shlomi Fish shlomif@xxxxxxxxxxx ...
    (Linux-Kernel)
  • Re: [PATCH 2.6.20-rc3] qconf Search Dialog
    ... This is a new version of the patch that adds a search dialog to the ... Implemented regular expression querying. ... sign next to them to expand them. ... Shlomi Fish shlomif@xxxxxxxxxxx ...
    (Linux-Kernel)
  • Re: Sendmail rewrite "FROM" (this is a bug?)
    ... to send replies to where ever the original sender wants replies to go to. ... However I think this is still a patch, a good one, but still a patch. ... Masquerading in conjunction with Genericstable can be used to cause Sendmail to alter lots of different things it is configured). ... I think fixing the underlying problem is always more appropriate than any thing else that might work around the problem, no matter how good the patch may be. ...
    (comp.mail.sendmail)