discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=56ff9ead0353368d664c7badabbe0d03c204fdf9

commit 56ff9ead0353368d664c7badabbe0d03c204fdf9
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Oct 15 12:58:32 2015 -0400

    use dbus unique name for tracking systray sessions
    
    the env var DBUS_SESSION_BUS_ADDRESS may not be set for all platforms
    where enlightenment+dbus are usable, so it's necessary to get the dbus
    id to ensure that this value exists and is properly tracked
---
 src/modules/systray/e_mod_notifier_watcher.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/systray/e_mod_notifier_watcher.c 
b/src/modules/systray/e_mod_notifier_watcher.c
index c091bb2..0bde949 100644
--- a/src/modules/systray/e_mod_notifier_watcher.c
+++ b/src/modules/systray/e_mod_notifier_watcher.c
@@ -187,7 +187,7 @@ systray_notifier_dbus_watcher_start(Eldbus_Connection 
*connection, E_Notifier_Wa
    unregistered_cb = unregistered;
    user_data = (void *)data;
    host_service = eina_stringshare_add("internal");
-   dbus = getenv("DBUS_SESSION_BUS_ADDRESS");
+   dbus = eldbus_connection_unique_name_get(conn);
    if (systray_ctx_get()->config->items)
      eina_hash_free_cb_set(systray_ctx_get()->config->items, 
(Eina_Free_Cb)systray_notifier_item_hash_del);
    if (systray_ctx_get()->config->dbus && systray_ctx_get()->config->items)

-- 


Reply via email to