~ubuntu-branches/ubuntu/natty/unity/natty

« back to all changes in this revision

Viewing changes to src/PlacesView.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2011-04-15 12:15:40 UTC
  • Revision ID: james.westby@ubuntu.com-20110415121540-pwncz8z0wo1vdm90
Tags: 3.8.8-0ubuntu2
Cherry pick a lazy activation case not starting the places on demand
(LP: #761225)

Show diffs side-by-side

added added

removed removed

Lines of Context:
445
445
void
446
446
PlacesView::ConnectPlaces (GVariant *data, PlacesView *self)
447
447
{
 
448
  if (self->_factory->GetPlaces ().size () == 0)
 
449
    return;
 
450
  
448
451
  if (!self->_places_connected)
449
452
  {
450
453
    std::vector<Place *>::iterator it, eit = self->_factory->GetPlaces ().end ();