~anton0/ubuntu/precise/unity/lp-789979

« back to all changes in this revision

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

  • Committer: Anton Frolov
  • Date: 2012-06-02 23:11:23 UTC
  • Revision ID: frolov.anton@gmail.com-20120602231123-2r4ae8cwrrsqw1i2
Tags: 5.12-0ubuntu2~ppa0
Added option to always show menu items (LP: #789979)

Show diffs side-by-side

added added

removed removed

Lines of Context:
337
337
 
338
338
     optionSetNumLaunchersNotify(boost::bind(&UnityScreen::optionChanged, this, _1, _2));
339
339
     optionSetLauncherCaptureMouseNotify(boost::bind(&UnityScreen::optionChanged, this, _1, _2));
 
340
     
 
341
     optionSetMenuAlwaysVisibleNotify(boost::bind(&UnityScreen::optionChanged, this, _1, _2));
340
342
 
341
343
     ubus_manager_.RegisterInterest(UBUS_LAUNCHER_START_KEY_NAV,
342
344
                   sigc::mem_fun(this, &UnityScreen::OnLauncherStartKeyNav));
2585
2587
      dash_controller_->use_primary = !launcher_controller_->multiple_launchers();
2586
2588
      hud_controller_->multiple_launchers = launcher_controller_->multiple_launchers();
2587
2589
      break;
 
2590
    case UnityshellOptions::MenuAlwaysVisible:
 
2591
      panel_controller_->SetMenuAlwaysVisible(optionGetMenuAlwaysVisible());
 
2592
      break;
2588
2593
    case UnityshellOptions::LauncherCaptureMouse:
2589
2594
      launcher_options->edge_resist = optionGetLauncherCaptureMouse();
2590
2595
      break;