[PATCH] Setup.exe package search/filter (PING cgf)
Dave Korn
dave.korn.cygwin@googlemail.com
Fri Apr 24 19:25:00 GMT 2009
Dave Korn wrote:
> So here's an updated and retested
and corrected!
> version of the patch done under the assumption that reverting that change
> will be acceptable; if not, I can find a different way of doing it. Ok for
> head?
2009-04-24 Andrew Punch <andrew@xxxxxxxxxxxxx.xxx.xx>
* PickView.h: Add #include <string>.
(PickView::SetPackageFilter): Add new function.
(PickView::packageFilterString): Add new string data member.
* PickView.cc (PickView::setViewMode): Use it to filter names.
(PickView::insert_category): Likewise.
(PickView::PickView): Initialise packageFilterString to blank.
* res.rc (IDD_CHOOSE): Add IDC_CHOOSE_SEARCH_EDIT and
IDC_CHOOSE_SEARCH_LABEL controls.
(IDS_SEARCH_TOOLTIP): Add new string resource.
* resource.h (IDS_SEARCH_TOOLTIP): New string resource ID.
(IDC_CHOOSE_SEARCH_EDIT): New edit control ID.
(IDC_CHOOSE_SEARCH_LABEL): Mew static text control ID.
* choose.cc (ChooserControlsInfo[]): Add IDC_CHOOSE_SEARCH_LABEL
and IDC_CHOOSE_SEARCH_EDIT controls to auto-resize list.
(ChooserPage::OnInit): Add tooltip to search edit box.
(ChooserPage::OnMessageCmd): Handle EN_CHANGE event from
IDC_CHOOSE_SEARCH_EDIT.
2009-04-24 Dave Korn <dave.korn.cygwin@xxxxx.xxx>
* propsheet.cc (PropSheetWndProc): Re-enable hasMinRect.
So, is _this_ one OK?
cheers,
DaveK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setup-package-search-revised-3.diff
Type: text/x-c
Size: 6728 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20090424/177ab2fc/attachment.bin>
More information about the Cygwin-apps
mailing list