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: Tue, 10 Mar 2009 09:42:00 +0100
On Mon, 2009-03-09 at 23:28 +0100, Marko Anastasov wrote:
> On Mon, Mar 9, 2009 at 11:37 AM, Alexander Larsson <alexl redhat com> wrote:
> > 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).
>
> I'm happy to hear that this is indeed going to happen eventually.
>
> >
> > However, this workaround seems like it should work too.
> > You want GDK_SELECTION_PRIMARY though, not CLIPBOARD.
>
> Unfortunately, it doesn't quite work as desired. A GDK_SELECTION_PRIMARY
> clipboard, as far as I've noticed, tracks just mouse selections of text.
> Later I read a confirmation on [0].
Ah, thats right. But CLIPBOARD will only track if you actually cut or
copy things. So, I think you'll have to wait for the dbus support.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]