I got reply like:
        Method return sender:=1.11 ->dest=:1.43 reply_serial=2
                Uint32 10

I checked "DBUS_SESSION_BUS_PID" in /proc/`pidof meego-ux-daemon`/environ and 
output of `env`. They are same!
So I could say I run dbus-send in the same dbus session as UX session and get 
correct reply, right?

But the question is the notification is not shown.


-----Original Message-----
From: Iovene, Salvatore 
Sent: Thursday, June 23, 2011 4:07 PM
To: Liu, Wei Zhi
Cc: meego-dev@meego.com
Subject: Re: [MeeGo-dev] MNotification can't show notification

Hi,

On Thu, 23 Jun 2011 08:55:00 +0100
"Liu, Wei Zhi" <wei.zhi....@intel.com> wrote:
> I am trying to show some warning info via sending dbus message to
> MNotificationManager, but I can’t find the popup notification.
> [..]
> $dbus-send –print-reply
> –dest=com.meego.core.MNotificationManager /notificationmanager
> com.meego.core.MNotificationManager.addNotification uint32:0 uint32:0
> string:’test’

Do you get any reply in stdout?
You should make sure that the dbus session in your terminal is the same
as the one running in your UX session.

Please check this thread:
http://lists.meego.com/pipermail/meego-sdk/2011-June/thread.html#1405

-- 
Salvatore Iovene <salvatore.iov...@intel.com>
Linux Software Engineer
Intel Open Source Technology Center, Finland
Tel.: +358504804026
_______________________________________________
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Reply via email to