I just tried the command on my netbook with Moblin 2.1 release. It is workable.
Make sure you are using default user, but not root to login.

Use d-feet to check org.moblin.UX.Shell.Toolbar bus. On my netbook, HidePanel, 
HideToolbar, ShowPanel, ShowToolbar methods are exposed.


________________________________
From: 小 �� [mailto:[email protected]]
Sent: 2009年11月5日 20:21
To: Wang, Jing J; [email protected]
Subject: RE: [Moblin Dev] How can I show a running application (window) above 
myzone

Thank you for your help.

However, I try to type the command in the terminal.
dbus-send --session --type=method_call --print-reply 
--dest=org.moblin.UX.Shell.Toolbar /org/moblin/UX/Shell/Toolbar 
org.moblin.UX.Shell.Toolbar.HidePanel string:myzone boolean:true

It shows one error message.
Error org.freedesktop.DBus.Error.UnknowMethod: Method "HidePanel" with 
signature "sb" on interface "org.moblin.UX.Shell.Toolbar" doesn't exist.

I also run the sample code of dbus to list the name of all session bus.
The message bus of org.moblin.UX.Shell.Toolbar exists on my system.
Does "HidePanel" method support?

Thank you.

> From: [email protected]
> To: [email protected]; [email protected]
> Date: Thu, 5 Nov 2009 13:17:04 +0800
> Subject: RE: [Moblin Dev] How can I show a running application (window) above 
> myzone
>
> I don't think any Application window can locate above Myzone. A workaround 
> way is to send dbus command to toolbar to hide Myzone in your daemon.
>
> Dbus-send --session --type-method_call --dest=org.moblin.UX.Shell.Toolbar 
> /org/moblin/UX/Shell/Toolbar org.moblin.UX.Shell.Toolbar.HidePanel 
> string:myzone boolean:true
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of 小��
> Sent: 2009年11月5日 13:00
> To: [email protected]
> Subject: [Moblin Dev] How can I show a running application (window) above 
> myzone
>
>
> Hi,
>
> I write a daemon to start a application (window) when some
> events occur. This daemon can work fine when I am using
> some applications. However, if I am idle in myzone, the event
> occurs, starting application can not show above myzone until
> I type "Alt + Tab".
>
> Can I show a window above myzone of moblin?
>
> Thank you.
>
> _________________________________________________________________
> �S身的 Windows Live Messenger 和 Hotmail,不限�r地掌握�Y���M在指�g ― Windows Live for 
> Mobile
> http://3c.msn.com.tw/mobile/
> _______________________________________________
> Moblin dev Mailing List
> [email protected]
>
> To manage or unsubscribe from this mailing list visit:
> http://lists.moblin.org/listinfo/dev or your user account on 
> http://moblin.org once logged in.
>
> For more information on the Moblin Developer Mailing lists visit:
> http://moblin.org/community/mailing-lists
________________________________
Windows 7:��化您的日常工作。 找出�m合您的���X。<http://windows.microsoft.com/shop>
_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org 
once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to