~canonical-dx-team/unity/unity.fix-ql-losing-focus

« back to all changes in this revision

Viewing changes to tests/TestPlaces.cpp

  • Committer: Neil Jagdish Patel
  • Date: 2011-01-23 14:34:08 UTC
  • mto: (697.4.22 places-search)
  • mto: This revision was merged to the branch mainline in revision 788.
  • Revision ID: neil.patel@canonical.com-20110123143408-ti0q0897et705uib
Some clean up of current work, make sure we're not using factory implementations directly

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
    view->SetMinMaxSize(1024, 600);
53
53
    layout->AddView(view, 1, nux::eCenter, nux::eFix);
54
54
 
55
 
    _factory = new PlaceFactoryFile ();
 
55
    _factory = PlaceFactory::GetDefault ();
56
56
    PopulateEntries ();
57
57
    _factory->place_added.connect (sigc::mem_fun (this, &TestApp::OnPlaceAdded));
58
58
 
128
128
  }
129
129
 
130
130
  nux::ComboBoxSimple *_combo;
131
 
  PlaceFactoryFile    *_factory;
 
131
  PlaceFactory *_factory;
132
132
};
133
133
 
134
134