aboutsummaryrefslogtreecommitdiff
path: root/src/app-section.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove app-section.[ch]Lars Uebernickel2013-08-281-73/+0
|
* Set the global chat status more intelligentlyLars Uebernickel2012-09-181-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_nameLars Uebernickel2012-09-051-1/+0
|
* app-section: remove unused private memberLars Uebernickel2012-09-051-1/+0
|
* add lars as co-author of app-sectionCharles Kerr2012-08-191-1/+2
|
* Only show chat section when necessaryLars Uebernickel2012-06-271-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 againLars Uebernickel2012-06-271-0/+1
|
* Add draws-attention flag to source actionsLars Uebernickel2012-06-271-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 sectionLars Uebernickel2012-06-251-1/+0
|
* Include different header in test case to fix `make check`Lars Uebernickel2012-06-041-0/+1
|
* app-section: replace G_TYPE_INSTANCE_GET_PRIVATE calls with a priv memberLars Uebernickel2012-06-041-2/+5
|
* Reexport application actionsLars Uebernickel2012-06-031-0/+1
|
* Listen to actions exported by applicationsLars Uebernickel2012-06-021-0/+5
|
* Put the 'launch' action onto app's menu sectionsLars Uebernickel2012-05-311-0/+1
| | | | | This requires clients to make those menu sections clickable.
* Rename AppMenuItem to AppSectionLars Uebernickel2012-05-311-0/+58