Re: [Rhythmbox-devel] Rhythmbox: Improved Last.fm Plugin - Weekly Report 1



On Thu, 2010-06-03 at 12:52 +0100, Jamie Nicol wrote:
> I don't think it's possible to embed *just* the authentication form.
> We're supposed to send the user to a certain address. The user may or
> may not first be redirected to the login page (depending on if they are
> logged in already). Then at the address we send them to they simply
> click a button to authenticate rhythmbox, after which they are taken to
> a confirmation page. All of these pages contain the normal Last.fm
> navigation links, so the user would be able to navigate to wherever they
> liked. I certainly wouldn't know how to stop this. I don't see opening a
> web browser as too much of a nuisance to the user, and it is something
> we will only have to do once.

Since you're (likely to be) embedding a Webkit widget, you can trap the
navigation-requested signal and block requests that go to pages that you
don't want. That's what we do in the Ubuntu One music store plugin.

sil




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]