~ubuntu-branches/ubuntu/precise/amule-adunanza/precise

« back to all changes in this revision

Viewing changes to src/SearchDlg.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-02-18 21:16:23 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100218211623-gptwe60zx1knfkmu
Tags: 2010.1+2.2.6-0ubuntu1
* New upstream release (LP: #524697)
  - Drop manpages_spelling_fixes.diff fixed by upstream
  - Drop cryptopp-reference.diff fixed by upstream
  - Bump Standards-Version no changes required
  - Update install files (amule -> amuleadunanza)
  - debian/rules: amule.xpm -> amuleadunanza.xpm
  - Add README.Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//
2
2
// This file is part of the aMule Project.
3
3
//
4
 
// Copyright (c) 2003-2008 aMule Team ( admin@amule.org / http://www.amule.org )
 
4
// Copyright (c) 2003-2009 aMule Team ( admin@amule.org / http://www.amule.org )
5
5
// Copyright (c) 2002 Merkur ( devs@emule-project.net / http://www.emule-project.net )
6
6
//
7
7
// Any parts of this program derived from the xMule, lMule or eMule project,
241
241
        }
242
242
}
243
243
 
244
 
 
 
244
// ADUNANZA BEGIN
 
245
#if 0
245
246
void CSearchDlg::OnSearchClosing(wxNotebookEvent& evt) 
 
247
#else
 
248
void CSearchDlg::OnSearchClosing(wxBookCtrlEvent& evt) 
 
249
#endif
 
250
// ADUNANZA END
246
251
{
247
252
        // Abort global search if it was last tab that was closed.
248
253
        if ( evt.GetSelection() == ((int)m_notebook->GetPageCount() - 1 ) ) {
263
268
}
264
269
 
265
270
 
 
271
// ADUNANZA BEGIN
 
272
#if 0
266
273
void CSearchDlg::OnSearchPageChanged(wxNotebookEvent& WXUNUSED(evt))
 
274
#else
 
275
void CSearchDlg::OnSearchPageChanged(wxBookCtrlEvent& WXUNUSED(evt))
 
276
#endif
 
277
// ADUNANZA END
267
278
{
268
279
        int selection = m_notebook->GetSelection();
269
280
 
449
460
void CSearchDlg::OnBnClickedStop(wxCommandEvent& WXUNUSED(evt))
450
461
{
451
462
        theApp->searchlist->StopGlobalSearch();
 
463
// ADUNANZA BEGIN
 
464
// Backport fix
 
465
        theApp->searchlist->StopKadSearch();
 
466
// ADUNANZA END
452
467
        ResetControls();
453
468
}
454
469