Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ImApplicationList: add "remove-all" signal | Lars Uebernickel | 2012-12-20 | 1 | -0/+12 |
| | | | | | This is a temporary hack to work around a crash in QMenuModel. | ||||
* | im_application_list_set_remote: robuster check for running async operation | Lars Uebernickel | 2012-12-14 | 1 | -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 condition | Lars Uebernickel | 2012-12-14 | 1 | -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 shorten the app id to seven characters | Lars Uebernickel | 2012-12-05 | 1 | -1/+6 |
| | |||||
* | Change icon when there are any messages in the menu. | Lars Uebernickel | 2012-12-04 | 1 | -0/+47 |
|\ | | | | | | | Approved by Renato Araujo Oliveira Filho. | ||||
| * | Switch accessible name and icon-name (see last commit) | Lars Uebernickel | 2012-12-04 | 1 | -1/+1 |
| | | |||||
| * | Change icon when there are any messages in the menu | Lars Uebernickel | 2012-12-04 | 1 | -0/+47 |
| | | |||||
* | | Only expose one application icon (the -symbolic one) | Lars Uebernickel | 2012-12-04 | 1 | -10/+4 |
|/ | |||||
* | im-application-list: initialize local variables with NULL | Lars Uebernickel | 2012-12-04 | 1 | -2/+2 |
| | | | | | They are not set in every code path but freed at the end of the function. | ||||
* | Export symbolic application icons on messages | Lars Uebernickel | 2012-12-04 | 1 | -3/+38 |
| | | | | | | | | 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. | ||||
* | Prefix message action names with the right namespace | Lars Uebernickel | 2012-12-03 | 1 | -10/+33 |
| | |||||
* | Merge trunk and fix conflicts | Lars Uebernickel | 2012-11-30 | 1 | -8/+7 |
|\ | |||||
| * | ImApplicationList: specify right number of args for 'message-added' | Lars Uebernickel | 2012-11-29 | 1 | -1/+2 |
| | | | | | | | | | | | | This fixes a crash on arm, because g_signal_emit was called with one argument too many. | ||||
| * | Add root menu item | Lars Uebernickel | 2012-11-28 | 1 | -8/+7 |
| | | | | | | | | | | | | | | 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 Uebernickel | 2012-11-30 | 1 | -1/+80 |
| | | |||||
* | | Expose message actions in the phone menu | Lars Uebernickel | 2012-11-28 | 1 | -2/+4 |
| | | | | | | | | | | | | 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 service | Lars Uebernickel | 2012-11-28 | 1 | -4/+4 |
| | | |||||
* | | Pass message action and its parameter through to the application | Lars Uebernickel | 2012-11-27 | 1 | -0/+2 |
| | | |||||
* | | Allow adding actions to MessagingMenuMessage | Lars Uebernickel | 2012-11-27 | 1 | -2/+4 |
|/ | |||||
* | Tell applications when messages and sources are dismissed | Lars Uebernickel | 2012-11-26 | 1 | -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. | ||||
* | Add "Clear All" | Lars Uebernickel | 2012-11-26 | 1 | -1/+43 |
| | |||||
* | Namespace actions with 'src' and 'msg' for sources and messages | Lars Uebernickel | 2012-11-26 | 1 | -11/+25 |
| | |||||
* | ImApplicationList: give message and source actions a boolean parameter | Lars Uebernickel | 2012-11-26 | 1 | -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 signal | Lars Uebernickel | 2012-11-26 | 1 | -18/+58 |
| | |||||
* | Canonicalize application ids | Lars Uebernickel | 2012-11-26 | 1 | -24/+63 |
| | | | | | | | | | | 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. | ||||
* | ImApplicationList: use specified state for source actions (uxsb) | Lars Uebernickel | 2012-11-22 | 1 | -2/+4 |
| | |||||
* | ImApplicationList: fix typos | Lars Uebernickel | 2012-11-21 | 1 | -2/+2 |
| | | | | | Thanks Olivier! | ||||
* | ImApplicationList: no need to include the dynamic data in the signals | Lars Uebernickel | 2012-11-21 | 1 | -16/+6 |
| | | | | | This data can (and should) always be retrieved via actions. | ||||
* | Remove application messages when it unregisters itself | Lars Uebernickel | 2012-11-21 | 1 | -10/+28 |
| | |||||
* | Replace app when another process is registering with the same id | Lars Uebernickel | 2012-11-21 | 1 | -15/+13 |
| | |||||
* | Remove applications from the menu when the disappear from the bus | Lars Uebernickel | 2012-11-21 | 1 | -0/+42 |
| | |||||
* | ImApplicationList: listen for added and removed signals | Lars Uebernickel | 2012-11-20 | 1 | -36/+149 |
| | |||||
* | messages-service: move app handling into separate class | Lars Uebernickel | 2012-11-20 | 1 | -0/+348 |
Add ImApplicationList, a class that manages the list of applictions that are currently registered with the messaging menu. It creates dbus proxies for running applications and sends signals when the app adds messages or sources. |