aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-06-28 17:50:12 -0400
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-06-28 17:50:12 -0400
commit4ec8c2f614424a4d6ceb716f55320f1d81fd70b8 (patch)
treea143b5c8d3348d61ab6ca27db32a643ac2a84a62 /README
parent3470db7e3e7df1c4490f9faa3eb2df7df9a630eb (diff)
parente7e2b6357c8b4f1dade9c4e4be9b193d747626e2 (diff)
downloadlibayatana-indicator-4ec8c2f614424a4d6ceb716f55320f1d81fd70b8.tar.gz
libayatana-indicator-4ec8c2f614424a4d6ceb716f55320f1d81fd70b8.tar.bz2
libayatana-indicator-4ec8c2f614424a4d6ceb716f55320f1d81fd70b8.zip
Add support for indicators to tell the panel where they'd like to appear
Merged from lp:~larsu/libindicator/positionable
Diffstat (limited to 'README')
-rw-r--r--README13
1 files changed, 10 insertions, 3 deletions
diff --git a/README b/README
index 1ea62ef..b51e110 100644
--- a/README
+++ b/README
@@ -6,14 +6,21 @@ files in `/usr/share/unity/indicators`. These files have to have the same
name as the well-known D-Bus name that the corresponding service owns.
An indicator file is a normal key file (like desktop files). It must have
-an `[Indicator Service]` section, that contains the service's name
-(`Name`) and optionally the object path at which its action group is found
-(`ObjectPath`). For example:
+an `[Indicator Service]` section, that must contain the service's name (`Name`)
+and the object path at which its action group is found (`ObjectPath`). For
+example:
[Indicator Service]
Name=indicator-example
ObjectPath=/com/canonical/indicator/example
+It should also contain a hint to where the indicator should appear in the panel:
+
+ Position=70
+
+The smaller the position, the further to the right (or left when RTL is
+enabled) the indicator appears.
+
An indicator can only export one action group, but a menu for each profile
("desktop", "greeter", "phone") supports. There must be a section for each
of those profiles, containing the object path on which the menu is