~ubuntu-branches/ubuntu/lucid/boinc/lucid

« back to all changes in this revision

Viewing changes to clientgui/BOINCBaseView.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Frank S. Thomas, Frank S. Thomas
  • Date: 2008-05-31 08:02:47 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20080531080247-4ce890lp2rc768cr
Tags: 6.2.7-1
[ Frank S. Thomas ]
* New upstream release.
  - BOINC Manager: Redraw disk usage charts immediately after connecting to
    a (different) client. (closes: 463823)
* debian/copyright:
  - Added the instructions from debian/README.Debian-source about how
    repackaged BOINC tarballs can be reproduced because DevRef now
    recommends to put this here instead of in the afore-mentioned file.
  - Updated for the new release.
* Removed the obsolete debian/README.Debian-source.
* For consistency upstream renamed the core client and the command tool
  ("boinc_client" to "boinc" and "boinc_cmd" to "boinccmd"). Done the same
  in all packages and created symlinks with the old names for the binaries
  and man pages. Also added an entry in debian/boinc-client.NEWS explaining
  this change.
* debian/rules: Do not list Makefile.ins in the clean target individually,
  just remove all that can be found.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
// To view the GNU Lesser General Public License visit
16
16
// http://www.gnu.org/copyleft/lesser.html
17
17
// or write to the Free Software Foundation, Inc.,
18
 
// 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
18
// 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 
20
20
#if defined(__GNUG__) && !defined(__APPLE__)
21
21
#pragma implementation "BOINCBaseView.h"
46
46
    m_bProcessingListRenderEvent = false;
47
47
 
48
48
    m_bForceUpdateSelection = true;
 
49
    m_bIgnoreUIEvents = false;
49
50
 
50
51
    //
51
52
    // Setup View
69
70
    m_bProcessingListRenderEvent = false;
70
71
 
71
72
    m_bForceUpdateSelection = true;
 
73
    m_bIgnoreUIEvents = false;
72
74
 
73
75
    //
74
76
    // Setup View
290
292
void CBOINCBaseView::OnListSelected(wxListEvent& event) {
291
293
    wxLogTrace(wxT("Function Start/End"), wxT("CBOINCBaseView::OnListSelected - Function Begin"));
292
294
 
293
 
    m_bForceUpdateSelection = true;
294
 
    UpdateSelection();
295
 
    event.Skip();
 
295
    if (!m_bIgnoreUIEvents) {
 
296
        m_bForceUpdateSelection = true;
 
297
        UpdateSelection();
 
298
        event.Skip();
 
299
    }
296
300
 
297
301
    wxLogTrace(wxT("Function Start/End"), wxT("CBOINCBaseView::OnListSelected - Function End"));
298
302
}
301
305
void CBOINCBaseView::OnListDeselected(wxListEvent& event) {
302
306
    wxLogTrace(wxT("Function Start/End"), wxT("CBOINCBaseView::OnListDeselected - Function Begin"));
303
307
 
304
 
    m_bForceUpdateSelection = true;
305
 
    UpdateSelection();
306
 
    event.Skip();
 
308
    if (!m_bIgnoreUIEvents) {
 
309
        m_bForceUpdateSelection = true;
 
310
        UpdateSelection();
 
311
        event.Skip();
 
312
    }
307
313
 
308
314
    wxLogTrace(wxT("Function Start/End"), wxT("CBOINCBaseView::OnListDeselected - Function End"));
309
315
}
327
333
void CBOINCBaseView::OnGridSelectCell( wxGridEvent& event ) {
328
334
    wxLogTrace(wxT("Function Start/End"), wxT("CBOINCBaseView::OnGridSelectCell - Function Begin"));
329
335
 
330
 
        m_bForceUpdateSelection = true;
331
 
    UpdateSelection();
332
 
    event.Skip();
 
336
    if (!m_bIgnoreUIEvents) {
 
337
            m_bForceUpdateSelection = true;
 
338
        UpdateSelection();
 
339
        event.Skip();
 
340
    }
333
341
 
334
342
    wxLogTrace(wxT("Function Start/End"), wxT("CBOINCBaseView::OnGridSelectCell - Function End"));
335
343
}
337
345
void CBOINCBaseView::OnGridSelectRange( wxGridRangeSelectEvent& event ) {
338
346
    wxLogTrace(wxT("Function Start/End"), wxT("CBOINCBaseView::OnGridSelectRange - Function Begin"));
339
347
 
340
 
    m_bForceUpdateSelection = true;
341
 
    UpdateSelection();
342
 
        event.Skip();
 
348
    if (!m_bIgnoreUIEvents) {
 
349
        m_bForceUpdateSelection = true;
 
350
        UpdateSelection();
 
351
            event.Skip();
 
352
    }
343
353
 
344
354
    wxLogTrace(wxT("Function Start/End"), wxT("CBOINCBaseView::OnGridSelectRange - Function End"));
345
355
}
804
814
}
805
815
 
806
816
 
807
 
const char *BOINC_RCSID_0a1bd38a5a = "$Id: BOINCBaseView.cpp 12764 2007-05-29 16:16:33Z romw $";
 
817
const char *BOINC_RCSID_0a1bd38a5a = "$Id: BOINCBaseView.cpp 14938 2008-03-18 18:19:49Z romw $";