| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This makes the flow a bit more apparent. Also gets rid of a goto.
|
|\
| |
| |
| |
| |
| | |
that we can load icons as PNG data transmitted over the bus.
Approved by Lars Uebernickel, PS Jenkins bot.
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
| |
* debian/control:
- Bump GLib to 2.37.
* configure.ac:
- Bump GLib to 2.37.
* libindicator/indicator-image-helper.c:
- Support display of GBytesIcons.
* libindicator/indicator-ng.c:
- Change action state icon type to GVariant.
|
|\
| |
| |
| | |
Approved by PS Jenkins bot.
|
|/ |
|
|\
| |
| |
| | |
Approved by PS Jenkins bot, Łukasz Zemczak.
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
.desktop file
Otherwise GAppInfo won't pass the relevant platform-data to the Application launched.
Plus, fix the docs. Fixes: https://bugs.launchpad.net/bugs/1164483, https://bugs.launchpad.net/bugs/1166890.
Approved by Mathieu Trudel-Lapierre, PS Jenkins bot.
|
|/
|
|
|
|
|
| |
.desktop file
Otherwise GAppInfo won't pass the relevant platform-data to the Application launched.
Plus, fix the docs.
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
indicator_desktop_shortcuts_nick_exec_with_context
It allows to pass a GAppLaunchContext to pass platform-data when launching
actions. Deprecate old API. Fixes: https://bugs.launchpad.net/bugs/1164470, https://bugs.launchpad.net/bugs/1164483.
Approved by PS Jenkins bot, Lars Uebernickel.
|
| | |
|
| | |
|
|/
|
|
|
|
|
| |
indicator_desktop_shortcuts_nick_exec_with_context
It allows to pass a GAppLaunchContext to pass platform-data when launching
actions.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Hopefully, this is more straightforward to use than (sssb). It's also
extensible.
(sssb) is still supported for backwards compatibility, but I wouldn't recommend
using it anymore.
|
|\ \
| |/
|/|
| |
| | |
Merged from lp:~charlesk/libindicator/indicator-loader-profiles
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| | |
Approved by PS Jenkins bot, Michael Terry.
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Hopefully, this is more straightforward to use than (sssb). It's also
extensible.
(sssb) is still supported for backwards compatibility, but I wouldn't recommend
using it anymore.
Approved by Charles Kerr, PS Jenkins bot.
|
|/
|
|
|
|
|
|
|
| |
Hopefully, this is more straightforward to use than (sssb). It's also
extensible.
(sssb) is still supported for backwards compatibility, but I wouldn't recommend
using it anymore.
|
|\
| |
| |
| | |
Approved by PS Jenkins bot.
|
|/ |
|
|\
| |
| |
| |
| |
| | |
https://bugs.launchpad.net/bugs/1131708.
Approved by PS Jenkins bot, Mathieu Trudel-Lapierre.
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| | |
Approved by PS Jenkins bot.
|
|/ |
|
|\
| |
| |
| |
| |
| | |
should continue to be installed in the same (non-multiarch) directory, for historical reasons. Fixes: https://bugs.launchpad.net/bugs/1126360.
Approved by Łukasz Zemczak, PS Jenkins bot, Mathieu Trudel-Lapierre.
|
|/ |
|
|\
| |
| |
| | |
Approved by PS Jenkins bot.
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
IndicatorNg is an indicator object that reads an indicator service file and watches the bus for a corresponding service to appear. It turns the menus and actions exported by the service into an indicator entry. I think this is a good solution for the transition period in which we support both styles of indicators. (It means we don't need to copy templates around.)
An indicator service file must have an ".indicator" extension and contents simlilar to this:
[Indicator Service]
Name=indicator-test
BusName=com.canonical.indicator.test
ObjectPath=/com/canonical/indicator/test
For unity-panel-service, these files will be installed somewhere. The indicator-loader in this branch accepts a path to such a file as the first command line argument (instead of the .so file).
This can be tested with the example indicator in lp:~larsu/libunity/add-indicator (examples/indicator.vala).
Approved by Charles Kerr, Ted Gould.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This uses a (slightly) awkward heuristic: when the well-known name vanishes
from the session bus, it only restarts the service when it didn't explicitly
hide the indicator before.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
gtk_icon_set_from_gicon doesn't scale rectangular icons correctly.
This adds indicator_image_helper_update_from_gicon() and makes refresh_image()
set a broken image instead of erroring out when an icon couldn't be found.
|
| |
| |
| |
| |
| | |
Most indicators only need one of those.
|
| | |
|