~fginther/unity/100-scopes-search-tests-2

« back to all changes in this revision

Viewing changes to hud/HudController.cpp

  • Committer: Tarmac
  • Author(s): Brandon Schaefer, Marco Trevisan (Treviño), Automatic PS uploader, Andrea Azzarone, Nick Dedekind, Mathieu Trudel-Lapierre
  • Date: 2013-03-20 14:10:14 UTC
  • mfrom: (3086.1.1 unity)
  • Revision ID: tarmac-20130320141014-rfjcma29kgvan0gd
Merge with trunk.

Approved by PS Jenkins bot, Didier Roche.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
  ubus.RegisterInterest(UBUS_HUD_CLOSE_REQUEST, sigc::mem_fun(this, &Controller::OnExternalHideHud));
81
81
 
82
82
  //!!FIXME!! - just hijacks the dash close request so we get some more requests than normal,
83
 
  ubus.RegisterInterest(UBUS_PLACE_VIEW_CLOSE_REQUEST, sigc::mem_fun(this, &Controller::OnExternalHideHud));
 
83
  ubus.RegisterInterest(UBUS_OVERLAY_CLOSE_REQUEST, sigc::mem_fun(this, &Controller::OnExternalHideHud));
84
84
 
85
85
  ubus.RegisterInterest(UBUS_OVERLAY_SHOWN, [&] (GVariant *data) {
86
86
    unity::glib::String overlay_identity;
252
252
  }
253
253
  nux::Geometry const& geo = GetIdealWindowGeometry();
254
254
 
255
 
  view_->Relayout();
 
255
  view_->QueueDraw();
256
256
  window_->SetGeometry(geo);
257
257
  panel::Style &panel_style = panel::Style::Instance();
258
258
  view_->SetMonitorOffset(launcher_width, panel_style.panel_height);