raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=1fdaa2a1130052d283199b4abc0b48a272e3c9c8

commit 1fdaa2a1130052d283199b4abc0b48a272e3c9c8
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sun Mar 15 20:43:34 2020 +0000

    systray -  handle other non conforming notifier clients
    
    serviceshould be org.xxxx or whatever... some do /org/... some do
    :1.89 and some comply with the std... so be more forgiving...
---
 src/modules/systray/e_mod_notifier_watcher.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/modules/systray/e_mod_notifier_watcher.c 
b/src/modules/systray/e_mod_notifier_watcher.c
index 8e8308cc6..ddd38cca7 100644
--- a/src/modules/systray/e_mod_notifier_watcher.c
+++ b/src/modules/systray/e_mod_notifier_watcher.c
@@ -69,6 +69,7 @@ register_item_cb(const Eldbus_Service_Interface *s_iface, 
const Eldbus_Message *
    /* if stupid, this app does not conform to 
http://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/
     * and is expecting to have its send id watched as it is not providing a 
real bus name here */
    stupid = !!strncmp(svc, "org.", 4);
+   if ((stupid) && (svc[0] == ':')) stupid = EINA_FALSE;
 
    snprintf(buf, sizeof(buf), "%s/%s", stupid ? eldbus_message_sender_get(msg) 
: svc, stupid ? svc : "/StatusNotifierItem");
    service = eina_stringshare_add(buf);

-- 


Reply via email to