aboutsummaryrefslogtreecommitdiff
path: root/libmessaging-menu
Commit message (Collapse)AuthorAgeFilesLines
* Add messaging_menu_app_get_messageLars Uebernickel2012-12-042-0/+24
|
* Don't export the messaging_menu_message_to_variant symbolLars Uebernickel2012-11-302-5/+5
|
* Use aa{sv} instead of a(ssgav) to communicate actions to the serviceLars Uebernickel2012-11-282-17/+12
|
* Pass message action and its parameter through to the applicationLars Uebernickel2012-11-271-1/+22
|
* Move 'activate' signal into MessagingMenuMessageLars Uebernickel2012-11-272-23/+21
| | | | | And add parameters 'action' and 'parameter' (though they are not set yet).
* Allow adding actions to MessagingMenuMessageLars Uebernickel2012-11-273-24/+170
|
* Tell applications when messages and sources are dismissedLars Uebernickel2012-11-261-0/+21
| | | | | | Right now, this is only used to clean up internal data structures in libmessaging-menu. It's not exposed to the application itself.
* libmessaging-menu: emit the right signal when a message is removedLars Uebernickel2012-11-201-1/+1
|
* Add support for individual messages to MessagingMenuAppLars Uebernickel2012-11-152-6/+140
| | | | | This is not exposed in the indicator menu yet.
* MessagingMenuApp: fix leak (source list)Lars Uebernickel2012-11-141-1/+5
|
* Change application to service d-bus protocolLars Uebernickel2012-11-141-253/+258
| | | | | | | | | | | | | | Previously, the protocol was simply a menu model and an action group of the currently active sources. The service inserted the menu as a section into the indicator menu. This doesn't work anymore, because applications can (soon) expose individual messages, and the messaging menu doesn't always display all of those at once. This patch introduces a more specific d-bus API. That API is still considered private: applications have to use libmessaging-menu.
* Remove gtupleaction, it isn't used anymoreLars Uebernickel2012-11-133-397/+1
|
* Move service .xml into a common directoryLars Uebernickel2012-11-131-18/+6
| | | | | | | | | | Both the service (in src/) and the client library (in libmessaging-menu/) need access to the dbus interface description file. Until now, it resided in src, with both Makefiles calling gdbus-codegen on it. This patch moves the file to common/ and builds a convenience library that contains only the generated code.
* Merge new libmessaging-menu APILars Uebernickel2012-11-056-128/+671
|\ | | | | | | | | | | | | | | | | Adds MessagingMenuMessage, which allows adding individual messages with titles and body previews to the messaging menu with messaging_menu_app_append_message. This only adds the new API, messages are not actually sent to the messaging menu yet.
| * libmessaging-menu: add MessagingMenuMessageLars Uebernickel2012-11-015-2/+518
| | | | | | | | | | | | | | | | | | MessagingMenuMessage allows adding individual messages with titles and body previews to the messaging menu with messaging_menu_app_append_message. This only adds the new API, messages are not actually sent to the messaging menu yet.
| * libmessaging-menu: messaging-menu.[ch] -> messaing-menu-app.[ch]Lars Uebernickel2012-11-014-127/+153
| |
* | libmessaging-menu: clear time when set_count is calledLars Uebernickel2012-10-281-42/+68
| |
* | messaging_menu_app_set_source_icon: unset x-canonical-icon if NULL is passedLars Uebernickel2012-10-241-5/+15
| |
* | Merge lp:~jconti/indicator-messages/unexport-itemsLars Uebernickel2012-10-181-15/+33
|\ \ | | | | | | | | | | | | libmessaging-menu: unexport action group and menu model on dispose.
| * | Unexport actions/menus on disposeJason Conti2012-10-101-15/+34
| |/
* / libmessaging-menu: clear error before reusing itLars Uebernickel2012-10-111-2/+2
|/
* Fixed typo in docstringKen VanDine2012-10-091-1/+1
|
* libmessaging-menu: don't crash when getting an invalid desktop idLars Uebernickel2012-10-011-3/+14
| | | | | | Instead, silently don't export menus and actions. The single warning about the desktop id being invalid should be enough.
* Set the global chat status more intelligentlyLars Uebernickel2012-09-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* libmessaging-menu: don't set app->status when global status changesLars Uebernickel2012-09-181-2/+1
| | | | | | | | | The application's status only changes when it calls _set_status, so it's wrong to set the internal status when the global status changes. This shouldn't be a problem in practice, as app->status is not accessible from the API.
* libmessaging-menu: don't call SetStatus(OFFLINE) for all appsLars Uebernickel2012-09-181-2/+5
| | | | | | | | Only notify the service about status if the application has actually called messaging_menu_app_set_status. This saves a d-bus call per non-chat application and - more importantly - doesn't make the messaging menu go into "unknown status" mode when one application is reporting 'online' status.
* libmessaging-menu: fix shortcut action documentationLars Uebernickel2012-09-041-4/+5
|
* libmessaging-menu: add convenience docLars Uebernickel2012-09-021-3/+6
| | | | | | | The most common case when inserting a timed source is to insert a source with the current time. Emphasize this in the documentation by linking to the convenience methods from the _with_time variants.
* libmessaging-menu: document that @time is expressed in microsecondsLars Uebernickel2012-09-021-3/+3
|
* libmessaging-menu: add @include hint to documentationLars Uebernickel2012-09-021-0/+1
|
* libmessaging-menu: make generated .gir compatible with valaLars Uebernickel2012-09-011-0/+2
| | | | | | | | In particular, mamke sure the <c:namespace> and <package> tags are included in the .gir. Fixes launchpad bug #1044096, thanks Jim!
* libmessaging-menu: allow using multiple MessagingMenuAppsLars Uebernickel2012-08-311-48/+73
| | | | | | | The dbus path was set to /com/canonical/indicator/messages for all MessagingMenuApps that a process created. This patch adds the desktop id into the path.
* libmessaging-menu: allow changing label and icon of sourcesLars Uebernickel2012-08-312-0/+109
|
* libmessaging-menu: make real links out of urls in the documentationLars Uebernickel2012-08-291-7/+7
|
* Fix gtk-doc warningsLars Uebernickel2012-08-292-1/+6
|
* Add gtk-doc supportLars Uebernickel2012-08-291-1/+1
|
* libmessaging-menu: add documentationLars Uebernickel2012-08-292-12/+125
| | | | | | Adds an overview description of the messaging menu and documentation for enums, properties, and signals.
* Don't use '&' in variant format strings of g_menu_item_* callsLars Uebernickel2012-08-241-6/+10
|
* libmessaging-menu: fix g-ir-scanner warningsLars Uebernickel2012-08-232-6/+4
| | | | | | Also, enable warnings by default and only include messaging-menu.[ch] in the gir.
* libmessaging-menu: re-register with the service if it restartedLars Uebernickel2012-08-231-1/+41
|
* libmessaging-menu: don't warn when removing a non-existant sourceLars Uebernickel2012-08-231-3/+0
|
* libmessaging-menu: remove sources when they are activatedLars Uebernickel2012-08-231-0/+2
| | | | | | | Applications shouldn't leave message sources that the user clicked on in the messaging menu. This patch spares apps from having to call remove_source in all of their handlers.
* libmessaging-menu: annotate icon parameters with allow-noneLars Uebernickel2012-08-231-7/+7
|
* libmessaging-menu: warn when desktop_id is NULL (instead of crashing)Lars Uebernickel2012-08-231-6/+16
|
* libmessaging-menu: fix export-symbols-regexSebastien Bacher2012-08-211-1/+1
|
* Show icons in application and source menu itemsLars Uebernickel2012-08-211-3/+3
| | | | | | | Everthing goes through GIcon now, using g_icon_{to,new_for}_string to set a string attribute on the menu item. The attribute is prefixed x-canonical- for now.
* Use a custom menu item for message source menu itemsLars Uebernickel2012-08-211-0/+1
|
* libmessaging-menu: only export symbols tha t belong to the APISebastien Bacher2012-08-201-0/+2
|
* gtupleaction: set enabled to TRUE by defaultLars Uebernickel2012-08-201-0/+1
|
* Add introspection supportLars Uebernickel2012-07-301-0/+25
|