Re: What is the official way to get an icon coordinates from a NautilusFile ?
- From: Alexander Larsson <alexl redhat com>
- To: vnoel cox net
- Cc: Nautilus <nautilus-list gnome org>
- Subject: Re: What is the official way to get an icon coordinates from a NautilusFile ?
- Date: Thu, 02 Jun 2005 11:57:21 +0200
On Wed, 2005-06-01 at 17:47 -0400, Vincent Noel wrote:
> Hey all,
> I'm trying to come up with a patch for bug #147994 - visual
> notification when you double-click on something on your desktop (e.g.
> the "zooming boxes" you get when you click a launcher on your panel).
> In order to do this, I need to find the screen coordinates of the
> selected icon in the active window - I've tried to get them using
> position_string = nautilus_file_get_metadata (file,
> NAUTILUS_METADATA_KEY_ICON_POSITION, "");
> But it does not work (I get nonsense as a result).
Yeah, the metadata is only used for manual placement mode, and its about
the positioning in the icon container, not on the screen.
> What is the good, official way to do this ?
There is none at the moment. You'd have to create some.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a witless native American jungle king from the Mississippi delta. She's a
vivacious tomboy Valkyrie from a secret island of warrior women. They fight
crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]