Re: activating in gtk3

Lachlan <[email protected]>
Newsgroups gmane.comp.gnome.apps.rhythmbox.devel
Message-ID <CAMXB9EF+jB=URCSDtGtaR8wxzzRsLPnPZDpd2B01W-n+p0VPWQ@mail.gmail.com>
> What are you actually trying to do here? It looks like this would only
> catch events received by the source that was selected when the plugin
> was activated. Maybe you need to use 'notify::selected-page' signal on
> the shell to track the active source.

I think i'm doing this is all wrong, I want event_handler to run on
track selection and then go from there. I've found two options that
might work. (both don't in their current state)

# the first line isn't getting the entries
self.entry_source = RB.BrowserSource
self.entry_source.connect("selection-changed", self.event_handler)

# i need to re define event_handler to use this
RB.BrowserSource.do_button_press_event(RB.Shell, self.event_handler)

How does RB.BrowserSource.do_selected work? I think that would skip
all these issues.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.