aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* IndicatorNg: update indicator file formatLars Uebernickel2013-05-246-21/+96
| | | | | | | | | | | | | | | | | | 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.
* refactor indicator_ng_initable_initLars Uebernickel2013-05-241-22/+16
| | | | | This makes the flow a bit more apparent. Also gets rid of a goto.
* Use GIcon's serialization/deserialization interface for indicator icons so ↵William Hua2013-05-224-36/+68
|\ | | | | | | | | | | that we can load icons as PNG data transmitted over the bus. Approved by Lars Uebernickel, PS Jenkins bot.
| * Code clean-up.William Hua2013-05-191-31/+27
| |
| * Clean up error checking.William Hua2013-04-261-31/+22
| |
| * Don't free label and accessible_desc.William Hua2013-04-261-5/+2
| |
| * Remove changelog entry.William Hua2013-04-261-14/+0
| |
| * [ William Hua ]William Hua2013-04-225-26/+88
|/ | | | | | | | | | | | * 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.
* Releasing 12.10.2daily13.05.02-0ubuntu1 to ubuntu.Automatic PS uploader2013-05-031-0/+6
|\ | | | | | | Approved by PS Jenkins bot.
| * Releasing 12.10.2daily13.05.02-0ubuntu1, based on r487Automatic PS uploader2013-05-021-0/+6
|/
* Merge changelog changes from /13.04 branch for saucy.Mathieu Trudel-Lapierre2013-05-021-0/+32
|\ | | | | | | Approved by PS Jenkins bot, Łukasz Zemczak.
| * Merge changelog changes from /13.04 branch for saucy.Mathieu Trudel-Lapierre2013-05-021-0/+32
|/
* IndicatorDestkopShortcuts: add StartupNotify parameter in our internal fake ↵Marco Trevisan (Treviño)2013-04-091-5/+19
|\ | | | | | | | | | | | | | | | | .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.
| * IndicatorDestkopShortcuts: add StartupNotify parameter in our internal fake ↵Marco Trevisan (Treviño)2013-04-091-5/+19
|/ | | | | | | .desktop file Otherwise GAppInfo won't pass the relevant platform-data to the Application launched. Plus, fix the docs.
* IndicatorDestkopShortcuts: add ↵Marco Trevisan (Treviño)2013-04-052-10/+22
|\ | | | | | | | | | | | | | | | | 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.
| * IndicatorDestkopShortcuts: fix indentationMarco Trevisan (Treviño)2013-04-051-8/+8
| |
| * IndicatorDestkopShortcuts: add missing include and deprecate old functionMarco Trevisan (Treviño)2013-04-051-0/+3
| |
| * IndicatorDestkopShortcuts: add ↵Marco Trevisan (Treviño)2013-04-052-2/+11
|/ | | | | | | indicator_desktop_shortcuts_nick_exec_with_context It allows to pass a GAppLaunchContext to pass platform-data when launching actions.
* indicator-ng: allow a dictionary as the root action's stateLars Uebernickel2013-03-252-12/+23
|\
| * indicator-ng: allow a dictionary as the root action's stateLars Uebernickel2013-03-212-12/+23
| | | | | | | | | | | | | | | | | | 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.
* | indicator-loader: add command line option to specify profileCharles Kerr2013-03-251-1/+29
|\ \ | |/ |/| | | | | Merged from lp:~charlesk/libindicator/indicator-loader-profiles
| * init the GError pointer to NULLCharles Kerr2013-03-221-1/+1
| |
| * introduce tab damage for consistency with the rest of indicator-loader.cCharles Kerr2013-03-221-5/+5
| |
| * add the option to specify the profile from the command lineCharles Kerr2013-03-221-1/+29
|/
* Revert "indicator-ng: allow a dictionary as the root action's state".Mathieu Trudel-Lapierre2013-03-182-23/+12
|\ | | | | | | Approved by PS Jenkins bot, Michael Terry.
| * Revert: indicator-ng: allow a dictionary as the root action's stateMathieu Trudel-Lapierre2013-03-182-23/+12
|/
* indicator-ng: allow a dictionary as the root action's stateLars Uebernickel2013-03-132-12/+23
|\ | | | | | | | | | | | | | | | | | | 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.
| * indicator-ng: allow a dictionary as the root action's stateLars Uebernickel2013-03-132-12/+23
|/ | | | | | | | | 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.
* Releasing 12.10.2daily13.02.25-0ubuntu1 to ubuntu.Automatic PS uploader2013-02-251-0/+6
|\ | | | | | | Approved by PS Jenkins bot.
| * Releasing 12.10.2daily13.02.25-0ubuntu1, based on r479Automatic PS uploader2013-02-251-0/+6
|/
* Install the gtk2 library into the multiarch directory. Fixes: ↵Iain Lane2013-02-222-2/+4
|\ | | | | | | | | | | https://bugs.launchpad.net/bugs/1131708. Approved by PS Jenkins bot, Mathieu Trudel-Lapierre.
| * Use $(COMMON_CONFIGURE_FLAGS) instead of hardcodingIain Lane2013-02-221-1/+1
| |
| * Install shared library into correct (multiarch) directoryIain Lane2013-02-221-1/+1
| |
| * Disable silent rules for more useful build logsIain Lane2013-02-221-1/+3
|/
* Releasing 12.10.2daily13.02.19-0ubuntu1 to ubuntu.Automatic PS uploader2013-02-191-0/+10
|\ | | | | | | Approved by PS Jenkins bot.
| * Releasing 12.10.2daily13.02.19-0ubuntu1, based on r477Automatic PS uploader2013-02-191-0/+10
|/
* Multiarch for most of libindicator is fine. But the indicators themselves ↵Michael Terry2013-02-152-2/+2
|\ | | | | | | | | | | 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.
| * hard-code indicatordir to not use multiarch locationsMichael Terry2013-02-152-2/+2
|/
* Releasing 12.10.2daily13.02.15-0ubuntu1 to ubuntu.Automatic PS uploader2013-02-151-2/+5
|\ | | | | | | Approved by PS Jenkins bot.
| * Releasing 12.10.2daily13.02.15-0ubuntu1, based on r475Automatic PS uploader2013-02-151-2/+5
|/
* Add IndicatorNg.Lars Uebernickel2013-02-1417-15/+1078
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * indicator-ng: add license headerLars Uebernickel2013-02-142-0/+37
| |
| * indicator-ng: don't hide the indicator if the service is already runningLars Uebernickel2013-02-061-1/+0
| |
| * indicator-ng: try to restart the service when it crashesLars Uebernickel2013-02-063-5/+82
| | | | | | | | | | | | | | 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.
| * indicator-ng: simplify flow in initable_initLars Uebernickel2013-01-301-21/+20
| |
| * trim-lcov.py: add license headerLars Uebernickel2013-01-251-2/+18
| |
| * indicator-ng: use strlen instead of hard coding the lengthLars Uebernickel2013-01-251-1/+1
| |
| * indicator-ng: use indicator_image_helperLars Uebernickel2013-01-254-20/+28
| | | | | | | | | | | | | | | | 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.
| * indicator-ng: lazily allocate entry.label and entry.imageLars Uebernickel2013-01-251-7/+27
| | | | | | | | | | Most indicators only need one of those.
| * indicator-ng: require header item to have x-canonical-type setLars Uebernickel2013-01-252-15/+39
| |