GNOME Bugzilla – Bug 553990
last.fm should prompt for user/pass if unable to login
Last modified: 2008-11-15 09:41:48 UTC
Currently if the lastfm plugin is not able to login it displays the following in the status area: "Could not log in to Last.fm. Check your username and password." First, we may not even be showing the statusbar since it can be turned off in the menus. Second, it would be better to offer the user the opportunity to login directly. We probably want to implement this as a per source action. Maybe something like a yellow bar across the bottom of the source's content area that offers something like: Username: [ ] Password: [ ]
Actually, now that I look, the way Banshee does it is pretty nice.
Created attachment 119443 [details] screenshot
Created attachment 119686 [details] [review] patch * Adds a message widget * Cleans up the preferences dialog a bit * Calls the preferences dialog from the message widget I used a widget from gedit that is GPL. I guess we'll need to relicense it with the exception. For some reason the primary text in the message area is wrapping too early. Haven't looked into that yet.
Created attachment 119687 [details] [review] minor update
Created attachment 119688 [details] [review] update - make dialog not resizeable
Created attachment 119693 [details] [review] updated * Don't changed username/password on each keypress (WTF) * Queue a relogin attempt when username/password is changed * Remove the warning message when login succeeds
Got permission to relicense. Committed after review from Bastien.
*** Bug 498577 has been marked as a duplicate of this bug. ***
*** Bug 441293 has been marked as a duplicate of this bug. ***