Commit Graph

16 Commits

Author SHA1 Message Date
Marcel Hollerbach 33a4f33410 delete unused code 2016-01-10 15:29:12 +01:00
Marcel Hollerbach da51b1a002 rewrite host side 2016-01-10 15:13:10 +01:00
Marcel Hollerbach 58e610ff0c systray: use the external watcher daemon 2016-01-10 12:19:05 +01:00
Marcel Hollerbach adbb5719f0 systray: search for the best available resolution of a icon
For example in telegram the first icon which was transmitted was in a
pretty bad resolution, the new code searches the best res.
2015-10-14 22:40:47 +02:00
Mike Blumenkrantz 432d1e3776 cache systray items for each dbus session
the current spec does not directly require any behavior from clients
when a systray host, leading to an issue where clients do not re-register
their items when a new host appears

when using an in-process systray watcher, as the current implementation does,
the best choice for maintaining consistency for systray items across restarts
is to cache them according to the current dbus session. the process of setting
up the item will validate it on subsequent restarts, and changes to the session
will clear the cache

fix T2786
2015-10-14 16:30:41 -04:00
Mike Blumenkrantz 6ff98d8a39 fix systray to work with spec-breaking apps, eg. steam
according to the StatusNotifierItem specification, applications
register "service org.freedesktop.StatusNotifierItem-PID-ID" on the
session bus, and then "must register the unique instance name
to the StatusNotifierWatcher".

some applications, such as steam, instead register the path that they
will run on (/org/ayatana/NotificationItem/steam) and then expect the
watcher to register the method call's send id bus: this is totally bogus.

to catch this, when registering the new item the enlightenment watcher must
first determine if the item is spec-conforming. if yes, proceed as normal.
if no, pretend the application knows what it's doing and try to make things
work as expected anyway

for more details, read the full spec here
http://www.freedesktop.org/wiki/Specifications/StatusNotifierItem

fix T2763
2015-10-04 08:49:01 -04:00
Mike Blumenkrantz 0978d22f8e fix systray implementation of notifier watcher (StatusNotifierItem)
previously, this would throw dbus errors (or not) and then do nothing in
many cases. now it manages bus/path names more effectively and falls back
to binary image data when an icon path is not available

fix T2626 and probably some others
2015-09-22 18:38:34 -04:00
Mike Blumenkrantz 4675323286 bugfix: appindicator service name parsing now stringshares correctly
fix T811
2014-05-08 17:00:15 -04:00
Mike Blumenkrantz 4b3e2797a0 bugfix: don't use external log domain in systray
CID 1132742
2014-03-13 12:40:27 -04:00
Lucas De Marchi f8a2dd4d95 Rename edbus->eldbus 2013-04-23 12:37:43 -03:00
Carsten Haitzler 1c0574d4bf cancel pending calls in edbus if shutting down ctx...
SVN revision: 83835
2013-02-12 03:47:00 +00:00
José Roberto de Souza a913411beb e systray: Move dbus stuff out of gadcon instance
This fix a bug that was empty dbus notification when shelf is moved and
also allow multiple instance if some day we drop xembed support.

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82492
2013-01-09 22:38:21 +00:00
José Roberto de Souza c71d0fb539 e systray: Add notifier watcher
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82114
2013-01-03 22:07:45 +00:00
Lucas Joia 40d65f04ad e systray: add menu for notifier items
Patch by: Lucas Joia <lucasjoia@profusion.mobi>



SVN revision: 82113
2013-01-03 22:07:40 +00:00
Lucas De Marchi f3fbe7296d e systray: use strv instead of passing max around
Also rename one of the vars to _Names to keep consistent with the other.



SVN revision: 82112
2013-01-03 22:07:33 +00:00
José Roberto de Souza 3014654d58 e systray: Initial commit of dbus notifier host
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82111
2013-01-03 22:07:26 +00:00