aboutsummaryrefslogtreecommitdiff
path: root/src/messages-service.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Add empty icon-name to app shortcuts to indent them correctlyLars Uebernickel2012-03-081-0/+1
|/
* Fix memory leak: Free path string.Daniel d'Andrada2012-02-081-0/+3
| | | | | | The path was being created in build_launchers (line 1427) but never freed.
* serverList_equal: We have to compare IndicateListenerServers by DBus path ↵Robert Carr2011-12-011-4/+9
| | | | instead of just name. This fixes issues where one client (DBus name) will create two or more indicate servers.
* Removing unneeded headerTed Gould2011-08-241-1/+0
|
* s/Clear Attention/ClearOmer Akram2011-08-191-1/+1
|
* Add a clear attention menu item and attach it to middle clickTed Gould2011-07-221-8/+31
|\
| * Make sure clear attention stays at the endTed Gould2011-07-221-0/+5
| |
| * No need to track the last separator as we now have a menu item below it.Ted Gould2011-07-221-10/+0
| |
| * Adding in the clear attention menu itemTed Gould2011-07-221-0/+28
| |
* | Make all indicator entries appear after an applications shortcutsChris Coulson2011-07-221-0/+2
|/ | | | | | | Currently, indicator_added and resort_menu have different ideas of where they should go. indicator_added puts them before shortcuts, whereas resort_menu will move the shortcuts before them. This leads to a situation where shortcut entries end up inbetween an applications indicator entries (and this happens a lot with Thunderbird)
* Off by one error, because, well, this is a computer program and that's what ↵Ted Gould2011-07-131-1/+1
| | | | happens.
* Priming with the status separatorTed Gould2011-07-131-0/+5
|
* Putting status items into the menuTed Gould2011-07-131-1/+10
|
* Connecting a callback and cleaning upTed Gould2011-07-021-1/+8
|
* Call the status items build functionTed Gould2011-07-021-0/+3
|
* Commenting out the main function to make it more explanitoryTed Gould2011-06-221-3/+13
|
* Switching how we get our interface infoTed Gould2011-01-141-1/+0
|
* adjusted position of the left icons and triangle overlayDavid Barth2010-08-261-0/+1
|
* Allocate memory for hash table items (LP: #533021)Kees Cook2010-04-281-2/+2
|
* Check for whether a desktop file is eclipsed when loaded.Ted Gould2010-04-171-0/+8
|\
| * When adding a desktop file look through teh applications we have to check ↵Ted Gould2010-04-161-0/+8
| | | | | | | | for eclipsing
* | Handling the remove and add in separate functions.Ted Gould2010-04-161-49/+17
| |
* | Minor refactoring to make the logic clearerTed Gould2010-04-151-3/+7
| |
* | Some debug messages when removing shortcutsTed Gould2010-04-151-0/+3
| |
* | Negative debuggingTed Gould2010-04-151-0/+4
| |
* | Some debugging messagesTed Gould2010-04-151-0/+3
| |
* | Deleteing shortcuts on update if they need to beTed Gould2010-04-151-0/+6
| |
* | Killing hte launcher shortcuts on exit as well.Ted Gould2010-04-151-0/+8
| |
* | Removing the shortcuts when removing the application entry.Ted Gould2010-04-151-2/+10
|/
* We only want to increment the position if we didn't find an entryTed Gould2010-03-311-2/+3
|
* Make the visibility of indictor items and separators follow the visibility ↵Ted Gould2010-03-301-2/+16
| | | | of the application item.
* Build the separator after checking to see which entry to use. That way ↵Ted Gould2010-03-301-4/+4
| | | | we've always got one.
* Making the service into an indicator service.Ted Gould2010-03-291-15/+13
|
* Building the seen db on initTed Gould2010-03-241-0/+3
|