~larryprice/acolyterm/standalone-command

Viewing all changes in revision 193.

  • Committer: Tarmac
  • Author(s): Stefano Verzegnassi
  • Date: 2016-04-23 12:23:06 UTC
  • mfrom: (180.1.12 device-detection)
  • Revision ID: tarmac-20160423122306-rppqai9ykyi1f8sh
Added a context property which allows terminal-app to know whether a keyboard or a mouse is attached to the device.

This is required to workaround a gap in the Ubuntu UI Toolkit, which makes impossible to use some of the new convergence features (e.g. bottom edge) in desktop mode.
This also allows us to automatically hide some components which are only useful in a context where only a touchscreen is available as input device.

Hopefully, this patch shouldn't be required anymore with OTA-11, when the support for devices detection will be available through UITK. Fixes: https://bugs.launchpad.net/bugs/1465975.

Approved by Jenkins Bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: