Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Set the global chat status more intelligently | Lars Uebernickel | 2012-09-18 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | Up until now, the global chat status was set every time an application called _set_status. Thus, global status really meant "status of the app that last changed the status". Now, the service remembers the chat status for each application and sets the global status as a combination of all of application statuses. If applications have different statuses, the menu items are shown in an inconsistent state. This is implemented in IdoMenuItem by making it accept state as an array of strings in addition to a single string. It is drawn inconsistent if the state contains the menu item's target value in addition to other values. When the global status is changed through the messaging menu, the service doesn't update the action immediately anymore. Instead, it notifies all applications about the change via the "status-changed" signal. Applications must call _set_state to acknowledge that they have indeed changed their state. This is consistent with libmessaging-menu's documentation and design. Also, the SetStatus D-Bus call was missing a "desktop-id" parameter to tell the menu which application changed status. Changing this doesn't break existing apps, as the D-Bus interface is considered private to indicator-messages. | ||||
* | app-section.c: remove unused function app_section_get_name | Lars Uebernickel | 2012-09-05 | 1 | -1/+0 |
| | |||||
* | app-section: remove unused private member | Lars Uebernickel | 2012-09-05 | 1 | -1/+0 |
| | |||||
* | add lars as co-author of app-section | Charles Kerr | 2012-08-19 | 1 | -1/+2 |
| | |||||
* | Only show chat section when necessary | Lars Uebernickel | 2012-06-27 | 1 | -0/+1 |
| | | | | | | | | The chat section is only shown when an application that is registered to use it is running. Applications are registered if their desktop file contains: X-MessagingMenu-UsesChatStatus: true | ||||
* | Make "Clear" work again | Lars Uebernickel | 2012-06-27 | 1 | -0/+1 |
| | |||||
* | Add draws-attention flag to source actions | Lars Uebernickel | 2012-06-27 | 1 | -0/+1 |
| | | | | | | AppSections watch those flags for associated sources and mux them into a draws-attention property for the whole section. | ||||
* | Put launcher and shortcut menu items into the same gmenu section | Lars Uebernickel | 2012-06-25 | 1 | -1/+0 |
| | |||||
* | Include different header in test case to fix `make check` | Lars Uebernickel | 2012-06-04 | 1 | -0/+1 |
| | |||||
* | app-section: replace G_TYPE_INSTANCE_GET_PRIVATE calls with a priv member | Lars Uebernickel | 2012-06-04 | 1 | -2/+5 |
| | |||||
* | Reexport application actions | Lars Uebernickel | 2012-06-03 | 1 | -0/+1 |
| | |||||
* | Listen to actions exported by applications | Lars Uebernickel | 2012-06-02 | 1 | -0/+5 |
| | |||||
* | Put the 'launch' action onto app's menu sections | Lars Uebernickel | 2012-05-31 | 1 | -0/+1 |
| | | | | | This requires clients to make those menu sections clickable. | ||||
* | Rename AppMenuItem to AppSection | Lars Uebernickel | 2012-05-31 | 1 | -0/+58 |