aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* messages-service: listen to the ApplicationStoppedRunning callLars Uebernickel2014-04-102-0/+30
|
* desktop menu: sort applications like specifiedLars Uebernickel2014-04-073-29/+83
| | | | | | Default chat client, default email client, and the other applications sorted by alphabet.
* Only show the menu when there are apps registered to use itLars Uebernickel2014-04-071-16/+17
|
* desktop menu: don't show status section when no apps supports itLars Uebernickel2014-04-073-49/+62
|
* desktop menu: use com.canonical.application menu items for actionsLars Uebernickel2014-03-201-1/+5
| | | | | | The unity implementation of that menu item indents the label even when there's no icon.
* phone menu: set action targets on source and message menu itemsLars Uebernickel2013-12-131-2/+2
|
* g_action_muxer_insert: don't warn when passing a NULL action groupLars Uebernickel2013-11-201-1/+4
| | | | | This is legitimate use of the API.
* im_menu_insert: make sorting logic more readableLars Uebernickel2013-11-191-8/+7
|
* im_menu_insert_section: don't leak item_sortLars Uebernickel2013-11-121-2/+9
|
* Protect against processes calling Register() multiple timesLars Uebernickel2013-10-261-2/+5
| | | | | | Don't unnecessarily reset the application's state if the same process calls Register() more than once.
* im-application-list: unpack icon correctlyLars Uebernickel2013-10-111-1/+1
| | | | | | An additional variant was left by unpacking it the old way, which confused g_icon_deserialize() on the menu-rendering side.
* Fix the logic for turning the indicator icon blue.Lars Uebernickel2013-10-042-35/+50
|\ | | | | | | Approved by Ted Gould, PS Jenkins bot.
| * app_source_action_check_draw: flip erroneous != to ==Lars Uebernickel2013-10-041-1/+1
| |
| * Add "visible" paramete to im-application-list-source-addedLars Uebernickel2013-10-042-5/+11
| |
| * im-application-list: fix draws_attention logicLars Uebernickel2013-10-041-11/+16
| | | | | | | | | | | | | | The logic to update the both the global and the application-specific draws_attention flags was wrong or inefficient (sending unnecessary updates) when adding, removing, and modifying sources and messages.
| * app_source_action_check_draw: reset app->draws_attentionLars Uebernickel2013-10-041-0/+2
| | | | | | | | | | | | Fixes a bug: if a source drawing attention is removed, this function would leave app->draws_attention set to TRUE.
| * app_source_action_check_draw: don't let invisible sources draw attentionLars Uebernickel2013-10-041-8/+11
| |
| * Rename app_check_draw_attention to app_update_draws_attentionLars Uebernickel2013-10-041-11/+10
| | | | | | | | | | | | Because it doesn't check the flag, it updates it. Also make the function return whether the flag was changed.
| * app_check_draw_attention: don't overwrite draws_attention when it is already ↵Lars Uebernickel2013-10-041-1/+1
| | | | | | | | TRUE
* | messages-service.c: remove superfluous unrefLars Uebernickel2013-10-041-2/+0
|/
* in im_application_list_update_draws_attention(), free the temporary ↵Charles Kerr2013-10-031-1/+2
| | | | icon_name string created by g_strdup_printf()
* Return values from functions that have return values.Lars Uebernickel2013-10-022-8/+9
|\ | | | | | | | | | | Somehow -Wreturn-type warnings aren't always triggered for g_return_if_fail macros. Approved by Ted Gould, PS Jenkins bot.
| * im-application-list.c: return values from functions that have return valuesLars Uebernickel2013-10-021-3/+3
| |
| * messages-service.c: return FALSE from set_status() if preconditions aren't metLars Uebernickel2013-10-021-5/+6
| |
* | Remove 'indicator.' from the "Clear All" menu item on the phone's menuLars Uebernickel2013-10-021-1/+1
|/ | | | | There's already a namespace set for this section.
* Change title to "Incoming".Lars Uebernickel2013-09-301-1/+1
|\ | | | | | | Approved by Ted Gould, PS Jenkins bot.
| * Change title to "Incoming"Lars Uebernickel2013-09-301-1/+1
| |
* | messages-service: return TRUE from "handle-*" GDBusProxy method handlersLars Uebernickel2013-09-271-5/+11
| | | | | | | | | | | | | | This is done to signify that the handlers replied to the messages. Otherwise GDBus might send another reply, depending on whether 0 or !0 was lying around on the stack.
* | im-application-list: fix crash (source-changed was declared with wrong ↵Lars Uebernickel2013-09-271-1/+1
|/ | | | signature)
* im-application-list: show all sources that have a count, time, or non-empty ↵Lars Uebernickel2013-09-261-1/+1
|\ | | | | | | | | | | string. Fixes: https://bugs.launchpad.net/bugs/1231435. Approved by Sebastien Bacher, PS Jenkins bot.
| * im-application-list: show all sources that have a count, time, or non-empty ↵Lars Uebernickel2013-09-261-1/+1
| | | | | | | | string
* | phone menu: don't show "Clear All" when there are no messagesLars Uebernickel2013-09-251-16/+38
|/
* Add "title" to the root action state dictionaryLars Uebernickel2013-09-121-0/+3
|
* Use g_icon_serialize() instead of g_icon_to_string().Lars Uebernickel2013-09-098-179/+85
|\ | | | | | | Approved by Charles Kerr, PS Jenkins bot.
| * Remove gmenuutils, it's not being used anymoreLars Uebernickel2013-09-064-128/+0
| |
| * create_status_section: use g_icon_serialize()Lars Uebernickel2013-09-061-1/+8
| |
| * im_application_list_message_added: don't use g_object_unref for variantsLars Uebernickel2013-09-061-1/+1
| |
| * im_application_list_update_draws_attention: fix GVariant leakLars Uebernickel2013-09-061-4/+6
| | | | | | | | | | g_icon_serialize() returns a full (not a floating) reference.
| * Use g_icon_serialize() for application iconsLars Uebernickel2013-09-063-23/+26
| |
| * Use serialized icons for messages and sourcesLars Uebernickel2013-09-054-25/+47
| | | | | | | | | | The D-Bus protocol is not part of the public API, so it's okay to change it.
* | Install the service into pkglibexecdirLars Uebernickel2013-09-061-1/+1
|/
* Remove parameter type from root actionNick Dedekind2013-09-021-1/+1
|
* Remove app-section.[ch], it's not used anymore.Lars Uebernickel2013-08-283-999/+0
|\ | | | | | | Approved by Ted Gould, PS Jenkins bot.
| * Remove app-section.[ch]Lars Uebernickel2013-08-283-999/+0
| |
* | Don't pass source and message ids into parameters that expect detailed ↵Lars Uebernickel2013-08-281-2/+4
|\ \ | | | | | | | | | | | | | | | action names. Approved by Ted Gould, PS Jenkins bot.
| * | Don't pass ids as detailed action namesLars Uebernickel2013-08-281-2/+4
| |/ | | | | | | | | | | | | Detailed action names are of the form action::target or action(target), so they can't have colons or parens in them. This restriction does not apply to messaging menu ids. Fixes: https://bugs.launchpad.net/bugs/1180302.
* | Merge trunkLars Uebernickel2013-08-272-30/+107
|\|
| * Fix bug #1216843Lars Uebernickel2013-08-272-30/+107
| |\ | | | | | | | | | | | | | | | Remove all sources when an applications quits and don't show sources with a count of 0. Fixes: https://bugs.launchpad.net/bugs/1216843. Approved by Charles Kerr, PS Jenkins bot.
| | * desktop menu: don't show sources with a count of 0Lars Uebernickel2013-08-272-29/+90
| | |
| | * desktop menu: remove all sources when an application has quitLars Uebernickel2013-08-271-0/+16
| | |