Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | IndicatorDesktopShortcuts: use g_key_file_get_string for path | Marco Trevisan (Treviño) | 2013-08-09 | 1 | -5/+2 |
| | |||||
* | IndicatorDesktopShortcuts: add support to Path key for shortcut items | Marco Trevisan (Treviño) | 2013-08-08 | 1 | -3/+15 |
| | |||||
* | IndicatorDesktopShortcuts: free groupheader | Marco Trevisan (Treviño) | 2013-07-17 | 1 | -0/+2 |
| | |||||
* | indicator-object: g_return_if_fail -> g_return_val_if_fail | Lars Uebernickel | 2013-06-28 | 1 | -1/+1 |
| | |||||
* | Allow indicators to tell the panel where they want to appear | Lars Uebernickel | 2013-06-28 | 3 | -1/+57 |
| | | | | | | Only implemented in IndicatorNg right now, which gets that information from the indicator file. | ||||
* | in indicator_ng_service_started(), the result's variant type should be ↵ | Charles Kerr | 2013-06-27 | 1 | -6/+10 |
| | | | | parsed as '(u)' rather than 'u' | ||||
* | in indicator_ng_update_entry, unconditionally call set_label, set_icon, ↵ | Charles Kerr | 2013-06-16 | 1 | -6/+3 |
| | | | | set_accessible. Previously these were only called if the respective fields weren't NULL, which made it impossible to, for example, turn off a label or icon once it had been set. | ||||
* | indicator-ng: properly fail when keyfile doesn't exist | Lars Uebernickel | 2013-06-07 | 1 | -1/+1 |
| | |||||
* | Merge lp:~larsu/new-indicator-file-format | Lars Uebernickel | 2013-06-07 | 1 | -31/+60 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | indicator-ng: fix crash | Lars Uebernickel | 2013-05-29 | 1 | -5/+2 |
| | | |||||
| * | IndicatorNg: update indicator file format | Lars Uebernickel | 2013-05-24 | 1 | -12/+50 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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_init | Lars Uebernickel | 2013-05-24 | 1 | -22/+16 |
| | | | | | | | | | | This makes the flow a bit more apparent. Also gets rid of a goto. | ||||
* | | IndicatorDesktopShortcuts: Use the proper way to create an AppInfo from ↵ | Marco Trevisan (Treviño) | 2013-05-29 | 1 | -23/+11 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | command-line Removed the hack that we used to create a .desktop app-info from a locally generated keyfile, using g_app_info_create_from_commandline instead. Fixes: https://bugs.launchpad.net/bugs/1168373. Approved by PS Jenkins bot, Ted Gould. | ||||
| * | | IndicatorDesktopShortcuts: some code cleanup | Marco Trevisan (Treviño) | 2013-04-19 | 1 | -3/+1 |
| | | | |||||
| * | | IndicatorDesktopShortcuts: initialize flags using the default define | Marco Trevisan (Treviño) | 2013-04-12 | 1 | -1/+2 |
| | | | |||||
| * | | IndicatorDesktopShortcuts: Use the proper way to create an AppInfo from ↵ | Marco Trevisan (Treviño) | 2013-04-12 | 1 | -21/+10 |
| | | | | | | | | | | | | | | | | | | | | | command-line We remove the workaround that we used to create a .desktop app-info from a locally generated keyfile. | ||||
* | | | Handling the deprecation of gtk_icon_info_free() | Ted Gould | 2013-05-29 | 1 | -0/+6 |
| |/ |/| | |||||
* | | Code clean-up. | William Hua | 2013-05-19 | 1 | -31/+27 |
| | | |||||
* | | Clean up error checking. | William Hua | 2013-04-26 | 1 | -31/+22 |
| | | |||||
* | | Don't free label and accessible_desc. | William Hua | 2013-04-26 | 1 | -5/+2 |
| | | |||||
* | | [ William Hua ] | William Hua | 2013-04-22 | 2 | -24/+72 |
|/ | | | | | | | | | | | | * 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. | ||||
* | IndicatorDestkopShortcuts: add StartupNotify parameter in our internal fake ↵ | Marco Trevisan (Treviño) | 2013-04-09 | 1 | -5/+19 |
| | | | | | | | .desktop file Otherwise GAppInfo won't pass the relevant platform-data to the Application launched. Plus, fix the docs. | ||||
* | IndicatorDestkopShortcuts: fix indentation | Marco Trevisan (Treviño) | 2013-04-05 | 1 | -8/+8 |
| | |||||
* | IndicatorDestkopShortcuts: add missing include and deprecate old function | Marco Trevisan (Treviño) | 2013-04-05 | 1 | -0/+3 |
| | |||||
* | IndicatorDestkopShortcuts: add ↵ | Marco Trevisan (Treviño) | 2013-04-05 | 2 | -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 state | Lars Uebernickel | 2013-03-21 | 1 | -11/+20 |
| | | | | | | | | | 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. | ||||
* | Revert: indicator-ng: allow a dictionary as the root action's state | Mathieu Trudel-Lapierre | 2013-03-18 | 1 | -20/+11 |
| | |||||
* | indicator-ng: allow a dictionary as the root action's state | Lars Uebernickel | 2013-03-13 | 1 | -11/+20 |
| | | | | | | | | | 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. | ||||
* | hard-code indicatordir to not use multiarch locations | Michael Terry | 2013-02-15 | 2 | -2/+2 |
| | |||||
* | indicator-ng: add license header | Lars Uebernickel | 2013-02-14 | 2 | -0/+37 |
| | |||||
* | indicator-ng: don't hide the indicator if the service is already running | Lars Uebernickel | 2013-02-06 | 1 | -1/+0 |
| | |||||
* | indicator-ng: try to restart the service when it crashes | Lars Uebernickel | 2013-02-06 | 3 | -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_init | Lars Uebernickel | 2013-01-30 | 1 | -21/+20 |
| | |||||
* | indicator-ng: use strlen instead of hard coding the length | Lars Uebernickel | 2013-01-25 | 1 | -1/+1 |
| | |||||
* | indicator-ng: use indicator_image_helper | Lars Uebernickel | 2013-01-25 | 3 | -8/+27 |
| | | | | | | | | 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.image | Lars Uebernickel | 2013-01-25 | 1 | -7/+27 |
| | | | | | Most indicators only need one of those. | ||||
* | indicator-ng: require header item to have x-canonical-type set | Lars Uebernickel | 2013-01-25 | 1 | -15/+38 |
| | |||||
* | indicator-ng: check return value of g_menu_model_get_item_attribute | Lars Uebernickel | 2013-01-24 | 1 | -3/+5 |
| | | | | | If it returns false, we'd use uninitialized memory. | ||||
* | indicator-ng: document error conditions in menu_changed | Lars Uebernickel | 2013-01-24 | 1 | -0/+4 |
| | |||||
* | indicator-ng: save unnecessary allocations by using "&" in g_variant_get | Lars Uebernickel | 2013-01-24 | 1 | -8/+4 |
| | |||||
* | indicator-ng: show broken image when g_icon_for_string returns NULL | Lars Uebernickel | 2013-01-24 | 1 | -17/+18 |
| | |||||
* | indicator-ng: use an IndicatorObjectEntry internally | Lars Uebernickel | 2013-01-24 | 1 | -83/+26 |
| | | | | | We needed the entry anyway (that's what indicator_ng_get_entry was for). | ||||
* | indicator-ng: set name hint to the value of the service file's "Name" field | Lars Uebernickel | 2013-01-23 | 1 | -8/+23 |
| | |||||
* | indicator-ng: use base->get_entries to get the invisible ones, too | Lars Uebernickel | 2013-01-23 | 1 | -1/+1 |
| | |||||
* | indicator-ng: auto start service if it's not running | Lars Uebernickel | 2013-01-23 | 1 | -1/+1 |
| | |||||
* | indicator-ng: properly unset action group when the service disappears | Lars Uebernickel | 2013-01-22 | 1 | -1/+1 |
| | |||||
* | Make sure indicator-ng.h is installed | Lars Uebernickel | 2013-01-21 | 1 | -3/+5 |
| | |||||
* | indicator-ng: add getters | Lars Uebernickel | 2013-01-21 | 2 | -0/+20 |
| | |||||
* | indicator-ng: add indicator_ng_new_for_profile | Lars Uebernickel | 2013-01-21 | 2 | -3/+18 |
| | |||||
* | indicator-ng: fix crash (tried to free a string with g_object_unref) | Lars Uebernickel | 2013-01-21 | 1 | -1/+0 |
| |