~didrocks/unity/launcher-fixes

« back to all changes in this revision

Viewing changes to src/unityshell.cpp

  • Committer: Didier Roche
  • Date: 2011-03-09 19:12:37 UTC
  • mto: This revision was merged to the branch mainline in revision 944.
  • Revision ID: didier.roche@canonical.com-20110309191237-zabp07ns5ku0vtri
alt + F2 to active the new place. Will be nice now to check the place exists

Show diffs side-by-side

added added

removed removed

Lines of Context:
253
253
  return false;
254
254
}
255
255
 
 
256
bool
 
257
UnityScreen::executeCommand (CompAction         *action,
 
258
                             CompAction::State   state,
 
259
                             CompOption::Vector &options)
 
260
{
 
261
  ubus_server_send_message (ubus_server_get_default (),
 
262
                            UBUS_PLACE_ENTRY_ACTIVATE_REQUEST,
 
263
                            g_variant_new ("(sus)",
 
264
                                           "/com/canonical/unity/applicationsplace/runner",
 
265
                                           0,
 
266
                                           ""));
 
267
  return false;
 
268
}
 
269
 
256
270
void
257
271
UnityScreen::restartLauncherKeyNav ()
258
272
{
756
770
  optionSetShowLauncherTerminate  (boost::bind (&UnityScreen::showLauncherKeyTerminate, this, _1, _2, _3));
757
771
  optionSetKeyboardFocusInitiate  (boost::bind (&UnityScreen::setKeyboardFocusKeyInitiate, this, _1, _2, _3));
758
772
  //optionSetKeyboardFocusTerminate (boost::bind (&UnityScreen::setKeyboardFocusKeyTerminate, this, _1, _2, _3));
 
773
  optionSetExecuteCommandInitiate  (boost::bind (&UnityScreen::executeCommand, this, _1, _2, _3));
759
774
  optionSetPanelFirstMenuInitiate (boost::bind (&UnityScreen::showPanelFirstMenuKeyInitiate, this, _1, _2, _3));
760
775
  optionSetPanelFirstMenuTerminate(boost::bind (&UnityScreen::showPanelFirstMenuKeyTerminate, this, _1, _2, _3));
761
776