<div class="gmail_quote"><div>Great! gtk_window_present works!<br><br>Thanks a lot!<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Date: Sat, 20 Jun 2009 14:48:07 +0200<br>
From: Alberto Garcia <<a href="mailto:agarcia@igalia.com">agarcia@igalia.com</a>><br>
Subject: Re: How to top a maemo application if it's minimized?<br>
To: <a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
Message-ID: <<a href="mailto:20090620124807.GA25974@maestria.local.igalia.com">20090620124807.GA25974@maestria.local.igalia.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
On Sat, Jun 20, 2009 at 08:42:08PM +0800, Zhihai Wang wrote:<br>
<br>
> DBus method call will wake up an application and top it if this<br>
> application is not yet started. But if the application is already<br>
> started and minimized, it won't raise to top.<br>
><br>
> One way to do this is to call hd_wm_top_service, but this API looks<br>
> more like one for other applications to use than one used in the<br>
> application itself.<br>
<br>
Have you tried with gtk_window_present() ?<br>
<br>
Berto<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
maemo-developers mailing list<br>
<a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<br><br>Zhihai Wang<br>