diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-05-24 18:17:45 -0400 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-05-24 18:17:45 -0400 |
commit | 9627530cdaeb8d0ad9984f55f6fb0804740a1343 (patch) | |
tree | b12c32e71f0ec21311c403734f0e239c7b84d7cd /tests/com.canonical.indicator.no-such-service | |
parent | 2712010f2411973ff1687be63e3961f5c76acec3 (diff) | |
download | libayatana-indicator-9627530cdaeb8d0ad9984f55f6fb0804740a1343.tar.gz libayatana-indicator-9627530cdaeb8d0ad9984f55f6fb0804740a1343.tar.bz2 libayatana-indicator-9627530cdaeb8d0ad9984f55f6fb0804740a1343.zip |
IndicatorNg: update indicator file format
The old file format had some shortcomings:
(1) It was impossible to efficiently reuse a menu for different profiles,
because the profile name was implicit in the object path. The only way to do
this was to export the same menu twice. Now, object paths have to be set
explicitly in the indicator file.
(2) The well-known dbus name of a service and the name of its service file were
similar but slightly different (com.canonical.indicator.test vs
com.canonical.test.indicator), which caused some confusion on when to use
which. Now, the file name *is* the bus name, and the `BusName` key has been
dropped.
The new file format is documented in README.
Diffstat (limited to 'tests/com.canonical.indicator.no-such-service')
-rw-r--r-- | tests/com.canonical.indicator.no-such-service | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/com.canonical.indicator.no-such-service b/tests/com.canonical.indicator.no-such-service new file mode 100644 index 0000000..54cc4fd --- /dev/null +++ b/tests/com.canonical.indicator.no-such-service @@ -0,0 +1,3 @@ +[Indicator Service] +Name=indicator-test +ObjectPath=/com/canonical/indicator/test |