~tatokis/unity/gcc-72-errors

« back to all changes in this revision

Viewing changes to launcher/LauncherModel.h

  • Committer: CI Train Bot
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2015-12-11 12:44:27 UTC
  • mfrom: (4027.5.25 switcher-dynamic-model)
  • Revision ID: ci-train-bot@canonical.com-20151211124427-opfhmbzulgczo4gs
SwitcherModel: allow to add/remove icons dynamically and update them when they require it

We keep hidden applications in a separated vector; when an application becomes
invisible in switcher we need to move it to the hidden_applications_ vector,
if it becomes visible again we put it back on the main model vector. Fixes: #1512349
Approved by: Andrea Azzarone

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
  Base             _inner_shelf;
97
97
  Base             _inner_main;
98
98
  int              selection_;
99
 
  std::list<unity::debug::Introspectable*> introspection_results_;
100
99
  glib::SourceManager timeouts_;
101
100
 
102
101
  bool Populate();