~ojno/unity/minimize-on-click

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/HudView.cpp

  • Committer: Tarmac
  • Author(s): Gord Allott
  • Date: 2012-03-16 18:29:56 UTC
  • mfrom: (2120.2.1 fix-too-many-hud-items)
  • Revision ID: tarmac-20120316182956-6rj9mkqe6k60c6b7
Fixes the HUD AP keynav tests, tests were expecting 5 items but got 6. Fixes: . Approved by Michal Hruby.

Show diffs side-by-side

added added

removed removed

Lines of Context:
231
231
  int found_items = 0;
232
232
  for (auto query = queries.begin(); query != queries.end(); query++)
233
233
  {
234
 
    if (found_items > 5)
 
234
    if (found_items >= 5)
235
235
      break;
236
236
 
237
237
    HudButton::Ptr button(new HudButton());