~timchen119/notify-osd/notify-osd.lp404658

Viewing all changes in revision 472.

  • Committer: Jian-Ding Chen (timchen119)
  • Date: 2013-10-24 07:34:46 UTC
  • Revision ID: tim.chen119@canonical.com-20131024073446-b6pj0dlcc2fbnxim
Provide the "x-canonical-private-synchronous" to work with notifications different with LAYOUT_ICON_INDICATOR layout.
Currently the "x-canonical-private-synchronous" interface only provide this layout to support brightness and volume control.

This make following command behave correctly.
$notify-send "RF-status" "enabled" -h string:x-canonical-private-synchronous:1 -h string:image_path:/tmp/test.jpg

Canonical OEM projects need this function to

* enable OSD for enable/disable WiFi or bluetooth with a hotkey
* enable OSD for display switching with a hotkey

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: