Re: Tracking current file selection
- From: Alexander Larsson <alexl redhat com>
- To: Marko Anastasov <marko anastasov gmail com>
- Cc: cneumair gnome org, nautilus-list gnome org
- Subject: Re: Tracking current file selection
- Date: Mon, 09 Mar 2009 11:37:36 +0100
On Sat, 2009-03-07 at 19:41 +0100, Marko Anastasov wrote:
> Hi,
> I've noticed a suggestion on how to implement a monitor of current file
> selection in Nautilus, in #547479 [*]. That seemed quite straightforward,
> however I only see the "owner-change" signal emitted when I copy a file
> to clipboard. Does anybody have a tip on how to monitor the actual selection?
>
> Marko
>
> [*] http://bugzilla.gnome.org/show_bug.cgi?id=547479
We do want to expose this via dbus some day (see other thread).
However, this workaround seems like it should work too.
You want GDK_SELECTION_PRIMARY though, not CLIPBOARD.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]