aboutsummaryrefslogtreecommitdiff
path: root/src/messages-service.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Insert new app items right before the "Clear" itemLars Uebernickel2012-08-201-1/+1
| | | | | | This still isn't as specified by design (should be alphabetically), but at least "Clear" is below the app items now.
* in messages-service.c, make the functions create_action_group() and ↵Charles Kerr2012-08-191-4/+4
| | | | create_status_section() static
* when removing an application in messages-service, disconnect the ↵Charles Kerr2012-08-191-0/+1
| | | | notify::uses-chat-status handler
* Set accessible description (statically to "Messages" for now)Lars Uebernickel2012-08-161-0/+1
|
* Only show chat section when necessaryLars Uebernickel2012-06-271-4/+35
| | | | | | | | 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
* Remove header from status sectionLars Uebernickel2012-06-271-1/+1
|
* Sync chat status from and to clientsLars Uebernickel2012-06-271-7/+43
|
* Use gdbus-codegen also for the server side messages serviceLars Uebernickel2012-06-271-10/+26
|
* Add toplevel menuLars Uebernickel2012-06-271-2/+21
| | | | | | | | The toplevel menu represents the indicator itself. It has one item with a submenu, which is the indicator's popup menu. The action that is set on the toplevel will never be activated, but its state is used to indicate "draws-attention".
* Set status action when requestedLars Uebernickel2012-06-271-0/+12
|
* Disable "Clear" initiallyLars Uebernickel2012-06-271-6/+25
|
* Make "Clear" work againLars Uebernickel2012-06-271-3/+11
|
* Add draws-attention flag to source actionsLars Uebernickel2012-06-271-13/+30
| | | | | | AppSections watch those flags for associated sources and mux them into a draws-attention property for the whole section.
* messages-service: move gmenu utility functions into gmenuutils.[ch]Lars Uebernickel2012-06-261-40/+6
| | | | | As a neat side-effect, this fixes a memory leak in app-section.c.
* messages-service.c: move gsettings strv handling into gsettingsstrv.[ch]Lars Uebernickel2012-06-261-48/+3
|
* messages-service.c: fix memory leakLars Uebernickel2012-06-251-0/+2
|
* messages-service.c: get rid of some global variablesLars Uebernickel2012-06-251-8/+8
|
* messages-service.c: get session bus asynchronouslyLars Uebernickel2012-06-251-23/+36
|
* messages-service.c: removee unused includesLars Uebernickel2012-06-251-4/+1
|
* Remove status providersLars Uebernickel2012-06-251-5/+49
| | | | | | Applications will be able to set and retrieve status through libmessaging-menu and telepathy.
* Set user_data that action handlers expectLars Uebernickel2012-06-251-1/+1
|
* Set action namespace on application sectionsLars Uebernickel2012-06-251-1/+6
|
* Put launcher and shortcut menu items into the same gmenu sectionLars Uebernickel2012-06-251-5/+1
|
* Reexport application actionsLars Uebernickel2012-06-031-0/+21
|
* Use ids instead of .desktop file names to identify applicationsLars Uebernickel2012-06-031-8/+25
|
* Add GActionMuxerLars Uebernickel2012-06-031-1/+6
| | | | | | | | | | | This is a new implementation of an action muxer with the same interface as the one in the gtk tree. Its implementation is considerably simpler, mostly because it doesn't need to implement GActionObservable. In addition to muxing different action groups with the <prefix>.<action_name> scheme, it has the notion of global, prefix-less actions. Indicator-messages needs those for the status and clear actions.
* Listen to actions exported by applicationsLars Uebernickel2012-06-021-18/+39
|
* Put the 'launch' action onto app's menu sectionsLars Uebernickel2012-05-311-4/+5
| | | | | This requires clients to make those menu sections clickable.
* Rename AppMenuItem to AppSectionLars Uebernickel2012-05-311-9/+9
|
* Remove an application from the menu after it unregisteredLars Uebernickel2012-05-311-1/+52
|
* Allow applications to (un)register themselves from the messaging menu via d-busLars Uebernickel2012-05-301-7/+72
|
* Check whether supplied desktop files existLars Uebernickel2012-05-241-0/+6
|
* message-service: replace the server list with a hash table of appmenuitemsLars Uebernickel2012-05-241-49/+12
|
* Port to gmenu, act ILars Uebernickel2012-05-241-750/+57
| | | | | | | Work-in-progress of the gmenu port for the service. The bulk of this patch removes everything related to libindicate from the service. Only the static app launchers and their configured shortcut actions are exported for now.
* Merge launcher- and appmenuitemsLars Uebernickel2012-05-231-298/+117
|
* Allow creating AppMenuItems without initial listener / serverLars Uebernickel2012-05-211-1/+1
|
* Move build_launcher_core into build_launcherLars Uebernickel2012-05-211-19/+5
|
* Use a gsettings list for finding out which apps should appear in the menuLars Uebernickel2012-05-211-483/+23
| | | | | | | | | | | Previously, this was handled by looking for .desktop files in various system and user directories. The messaging menu should not display any applications by default anymore, so a simple per-user gsettings list suffices. A neat side effect is that the hairy blacklist handling is not needed anymore, either. Small regression: apps are not configurable at runtime anymore (settings key is not listened to for changes).
* Remove the seen dbLars Uebernickel2012-05-181-4/+0
| | | | | | | It was only really used to figure out whether one of the default apps was ever running, so that "Set up..." or the app name and actions would be shown in the menu. Since there are no default apps anymore, this is not needed either.
* merge lp:~larsu/indicator-messages/lp956147 to make the menu display a blank ↵Charles Kerr2012-04-101-4/+1
|\ | | | | | | icon when appropriate
| * Use "blank-icon" instead of "" to make the menu display a blank iconLars Uebernickel2012-04-101-1/+1
| |
| * Revert fix for lp:956147, the same service binary is used for gtk2 and gk3 ↵Lars Uebernickel2012-04-101-3/+0
| | | | | | | | packages
* | messages-service.c: add missing resort_menuLars Uebernickel2012-04-051-0/+1
| | | | | | | | | | | | This might fix lp:856284, but I couldn't verify because I can't reproduce the bug.
* | Merge lp:~larsu/indicator-messages/lp956147 to fix broken thunderbird ↵Charles Kerr2012-04-041-0/+3
|\| | | | | | | | | | | | | | | | | | | message indicator icons. This is a refinement to r254, which set an empty icon so that shortcut labels ("compose new message", "contacts", etc.) are horizontally aligned with the labels of the applications they belong to. Apparently gtk2 sets a "broken" icon onto a GtkImage if gtk_image_set_from_icon_name() is passed an empty string, which caused the behavior seen in bug #956147. Adding an #ifdef is a short-term fix for removing that "broken" icon in gtk2 for 12.04. Xref: http://bazaar.launchpad.net/~indicator-applet-developers/indicator-messages/trunk.0.6/revision/254 Xref: https://code.launchpad.net/~larsu/indicator-messages/lp956147/+merge/100836
| * Workaround for lp #956147: don't show empty icons in the gtk2 versionLars Uebernickel2012-04-041-0/+3
| |
* | messages-service.c: fix leakLars Uebernickel2012-04-041-0/+5
| |
* | Revert blacklist changes make apps relying on old behavior work againLars Uebernickel2012-04-041-2/+41
|/ | | | | | | | The new policy is: if a file in the blacklist folder is a symbolic link, use its target. If its filename ends on .desktop, use the file's basename (so that copying files works). Otherwise, use the contents of file (first line should contain path to a desktop file).
* Fix blacklistingTed Gould2012-03-201-21/+20
|\
| * Use basename of the desktop file as key in the blacklist hash tableLars Uebernickel2012-03-141-51/+20
| | | | | | | | | | | | | | This is superior to using symlinks, as this also allows copying the desktop files into the blacklist directory. Copying is the default when dragging and dropping an application into that folder.
| * Use link targets as keys in the blacklist hash tableLars Uebernickel2012-02-231-12/+42
| | | | | | | | | | Fixes lp:939258