~canonical-dx-team/unity/unity.fix-ql-losing-focus

« back to all changes in this revision

Viewing changes to src/DeviceLauncherIcon.h

This branch add the capability of setting hard coded keybindings to the
workspace
switcher and the Trash.
In addition, each place entry can specify a shortcut in its place file like:
Shortcut=a
in the [Entry:xxx] section

In addition, there are some fixes to be able to navigate by key navigation (or
activate the shortcuts) for the special switchers: ws, places, devices and
trash.

Fixes:
Bug #617356: Super-shortcuts for apps, files, and workspace switcher    Medium
Triaged
Bug #723141: key navigation doesn't activate trash, keys, expo or places    High
In Progress

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
  std::list<DbusmenuMenuitem *> GetMenus ();
41
41
 
42
42
private:
43
 
  void Activate ();
 
43
  void ActivateLauncherIcon ();
44
44
  void ShowMount (GMount *mount);
45
45
  void Eject ();
46
46
  static void OnOpen (DbusmenuMenuitem *item, int time, DeviceLauncherIcon *self);