aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Move toplevel menu logic into ImMenuLars Uebernickel2013-08-123-48/+39
| | | | | | Also, get rid of only exporting sections if they were non-empty. That was a hack for non-conformant GMenuModel renderers.
* Add ImMenuLars Uebernickel2013-08-126-43/+252
| | | | | | A base class for all messaging menus. ImPhoneMenu already subclasses from it, with a desktop version coming up.
* Prefix action names with "indicator."Lars Uebernickel2013-07-313-5/+5
|
* Remove panel pluginLars Uebernickel2013-07-3010-2225/+0
|
* Fixed deprecationsKen VanDine2013-07-122-9/+13
|\
| * fixed deprecationsKen VanDine2013-07-112-4/+5
|/|
| * Fixed deprecationsKen VanDine2013-07-113-7/+5
| |
* | Adding glib version guard to g_type_initSergio Schvezov2013-03-221-0/+2
| |
* | Fixed missing copyright header.Renato Araujo Oliveira Filho2013-02-201-0/+15
| |
* | ImApplicationList: add "remove-all" signalLars Uebernickel2012-12-204-0/+36
| | | | | | | | | | This is a temporary hack to work around a crash in QMenuModel.
* | ImPhoneMenu: sort messages by timeLars Uebernickel2012-12-141-1/+20
| |
* | im_application_list_set_remote: robuster check for running async operationLars Uebernickel2012-12-141-3/+9
| | | | | | | | | | | | | | | | | | | | | | This fixes the case when app->proxy is still NULL but another application with the same desktop file replaces it. This should never happen in practice, but turned up while testing multiple processes which used the same desktop file. Their proxy_create async functions raced each other because the first one's wasn't properly cancelled. Also fixes a small memory leak.
* | im_application_list_proxy_created: fix error conditionLars Uebernickel2012-12-141-2/+3
| | | | | | | | | | | | | | | | Also, don't print a warning when the proy couldn't be created because the operation was cancelled. This only happens when the service is shutting down or when one application replaces another one with the same desktop file (in which case we already warn with a more descriptive message).
* | Don't show sources in the phone menuLars Uebernickel2012-12-101-4/+0
| |
* | Remove the snapdecision widget typeLars Uebernickel2012-12-101-8/+4
| | | | | | | | | | Always use messageitem instead.
* | Don't shorten the app id to seven charactersLars Uebernickel2012-12-051-1/+6
| |
* | Change icon when there are any messages in the menu.Lars Uebernickel2012-12-041-0/+47
|\ \ | | | | | | | | | Approved by Renato Araujo Oliveira Filho.
| * | Switch accessible name and icon-name (see last commit)Lars Uebernickel2012-12-041-1/+1
| | |
| * | Change icon when there are any messages in the menuLars Uebernickel2012-12-041-0/+47
| | |
* | | Only expose one application icon (the -symbolic one)Lars Uebernickel2012-12-043-15/+4
|/ /
* | im-application-list: initialize local variables with NULLLars Uebernickel2012-12-041-2/+2
| | | | | | | | | | They are not set in every code path but freed at the end of the function.
* | Export symbolic application icons on messagesLars Uebernickel2012-12-043-3/+43
| | | | | | | | | | | | | | | | This is implemented by appending '-symbolic' to the first icon name. The old icon name is kept as a fallback in case there's no symbolic icon installed. This doesn't work yet for applications that specify their icon as a filename.
* | Reverse order of messagesLars Uebernickel2012-12-041-2/+2
|\ \ | | | | | | | | | | | | | | | | | | Newest messages should show up on top. The menu is still sorted by the time messages were added, not by the time property of MessagingMenuMessage. Approved by Olivier Tilloy.
| * | Reverse order of messagesLars Uebernickel2012-12-041-2/+2
| | | | | | | | | | | | | | | | | | Newest messages should show up on top. The menu is still sorted by the time messages were added, not by the time property of MessagingMenuMessage.
* | | Stop using IndicatorServiceLars Uebernickel2012-12-041-27/+20
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This doesn't require every consumer ("panel") to know about IndicatorServiceManager's protocol. Also, it ensures that objects are exported before the name is acquired, getting rid of a race condition (when a consumer tries to access objects in NameAppeared before they're exported). This patch also adds a --replace command line option -- replacing the INDICATOR_SERVICE_REPLACE_MODE environment variable. . Fixes: https://bugs.launchpad.net/bugs/1085206. Approved by Renato Araujo Oliveira Filho, PS Jenkins bot.
| * | Stop using IndicatorServiceLars Uebernickel2012-12-031-27/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This doesn't require every consumer ("panel") to know about IndicatorServiceManager's protocol. Also, it ensures that objects are exported before the name is acquired, getting rid of a race condition (when a consumer tries to access objects in NameAppeared before they're exported). This patch also adds a --replace command line option -- replacing the INDICATOR_SERVICE_REPLACE_MODE environment variable.
* | | Prefix message action names with the right namespaceLars Uebernickel2012-12-031-10/+33
| | |
* | | Merge trunk and fix conflictsLars Uebernickel2012-11-302-101/+14
|\| |
| * | ImApplicationList: specify right number of args for 'message-added'Lars Uebernickel2012-11-291-1/+2
| | | | | | | | | | | | | | | | | | This fixes a crash on arm, because g_signal_emit was called with one argument too many.
| * | Add x-canonical-type to the root itemLars Uebernickel2012-11-281-0/+1
| | |
| * | messages-service.c: remove chat status actionLars Uebernickel2012-11-281-91/+0
| | | | | | | | | | | | | | | | | | It isn't used right now (the action group wasn't even exported on the bus) and would need to be refactored anyway once chat status is added back in.
| * | Add root menu itemLars Uebernickel2012-11-282-10/+13
| | | | | | | | | | | | | | | | | | | | | The action for that root item lives in ImApplicationList for now, because it owns the action group (which should probably factored into its own class at some point).
* | | Expose message actions on the bus (as GActions)Lars Uebernickel2012-11-301-1/+80
| | |
* | | Expose message actions in the phone menuLars Uebernickel2012-11-283-3/+15
| | | | | | | | | | | | | | | | | | And use com.canonical.indicator.messages.snapdecision as widget type if the message has actions.
* | | Use aa{sv} instead of a(ssgav) to communicate actions to the serviceLars Uebernickel2012-11-281-4/+4
| | |
* | | Pass message action and its parameter through to the applicationLars Uebernickel2012-11-271-0/+2
| | |
* | | Allow adding actions to MessagingMenuMessageLars Uebernickel2012-11-271-2/+4
|/ /
* | Tell applications when messages and sources are dismissedLars Uebernickel2012-11-261-7/+28
| | | | | | | | | | | | Right now, this is only used to clean up internal data structures in libmessaging-menu. It's not exposed to the application itself.
* | Use namespaced action names (src. and msg.) in phone menuLars Uebernickel2012-11-261-4/+4
| |
* | Remove sections and "Clear All" when no sources or messages are availableLars Uebernickel2012-11-261-10/+33
| |
* | Add "Clear All"Lars Uebernickel2012-11-262-1/+51
| |
* | Namespace actions with 'src' and 'msg' for sources and messagesLars Uebernickel2012-11-261-11/+25
| |
* | ImApplicationList: give message and source actions a boolean parameterLars Uebernickel2012-11-261-10/+16
| | | | | | | | | | | | The application will only be notified about the activation when this parameter is true. False denotes a dismissed item.
* | ImApplicationList: listen to activate signalLars Uebernickel2012-11-261-18/+58
| |
* | Canonicalize application idsLars Uebernickel2012-11-263-61/+88
| | | | | | | | | | | | | | | | | | | | Remove trailing '.desktop' and replace all dots by underscores to make GActionMuxer work (which uses the dot as a separator). In order to contain the canonicalization to ImApplicationList, its signals now contain string parameters to id and icon name instead of GDesktopAppInfo pointers.
* | ImPhoneMenu: expose application icon on message itemsLars Uebernickel2012-11-221-0/+12
| |
* | ImApplicationList: use specified state for source actions (uxsb)Lars Uebernickel2012-11-221-2/+4
| |
* | ImApplicationList: fix typosLars Uebernickel2012-11-211-2/+2
| | | | | | | | | | Thanks Olivier!
* | ImApplicationList: no need to include the dynamic data in the signalsLars Uebernickel2012-11-213-24/+8
| | | | | | | | | | This data can (and should) always be retrieved via actions.
* | Remove application messages when it unregisters itselfLars Uebernickel2012-11-211-10/+28
| |