banshee r3420 - in trunk/banshee: . src/Extensions/Banshee.Lastfm src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio src/Extensions/Banshee.Lastfm/Resources src/Libraries/Lastfm.Gui/Lastfm.Gui



Author: gburt
Date: Tue Mar 11 16:15:28 2008
New Revision: 3420
URL: http://svn.gnome.org/viewvc/banshee?rev=3420&view=rev

Log:
2008-03-11  Gabriel Burt  <gabriel burt gmail com>

	* src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationType.cs:
	* src/Extensions/Banshee.Lastfm/Makefile.am: New tag, recommended,
	neighbour, and personal icons.

	* src/Libraries/Lastfm.Gui/Lastfm.Gui/AccountLoginForm.cs: Do not update
	the account information until the Close button is pressed.


Added:
   trunk/banshee/src/Extensions/Banshee.Lastfm/Resources/neighbour.png   (contents, props changed)
   trunk/banshee/src/Extensions/Banshee.Lastfm/Resources/personal.png   (contents, props changed)
   trunk/banshee/src/Extensions/Banshee.Lastfm/Resources/recommended.png
   trunk/banshee/src/Extensions/Banshee.Lastfm/Resources/tag.png   (contents, props changed)
Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationType.cs
   trunk/banshee/src/Extensions/Banshee.Lastfm/Makefile.am
   trunk/banshee/src/Libraries/Lastfm.Gui/Lastfm.Gui/AccountLoginForm.cs

Modified: trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationType.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationType.cs	(original)
+++ trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationType.cs	Tue Mar 11 16:15:28 2008
@@ -92,7 +92,7 @@
             Catalog.GetString ("Personal"),
             Catalog.GetString ("For User:"),
             "user/{0}/personal",
-            "system-users",
+            "personal",
             true
         );
 
@@ -110,7 +110,7 @@
             Catalog.GetString ("Neighbors"),
             Catalog.GetString ("Of User:"),
             "user/{0}/neighbours",
-            "system-users",
+            "neighbour",
             false
         );
 
@@ -128,7 +128,7 @@
             Catalog.GetString ("Tag"),
             Catalog.GetString ("Tag Name:"),
             "globaltags/{0}",
-            null,
+            "tag",
             false
         );
 

Modified: trunk/banshee/src/Extensions/Banshee.Lastfm/Makefile.am
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.Lastfm/Makefile.am	(original)
+++ trunk/banshee/src/Extensions/Banshee.Lastfm/Makefile.am	Tue Mar 11 16:15:28 2008
@@ -22,7 +22,10 @@
 	Resources/AudioscrobblerMenu.xml \
 	Resources/GlobalUI.xml \
 	Resources/lastfm.glade \
-	Resources/recommended.png
+	Resources/recommended.png \
+	Resources/neighbour.png \
+	Resources/personal.png \
+	Resources/tag.png
 
 include $(top_srcdir)/build/build.mk
 

Added: trunk/banshee/src/Extensions/Banshee.Lastfm/Resources/neighbour.png
==============================================================================
Binary file. No diff available.

Added: trunk/banshee/src/Extensions/Banshee.Lastfm/Resources/personal.png
==============================================================================
Binary file. No diff available.

Added: trunk/banshee/src/Extensions/Banshee.Lastfm/Resources/recommended.png
==============================================================================
Binary files (empty file) and trunk/banshee/src/Extensions/Banshee.Lastfm/Resources/recommended.png	Tue Mar 11 16:15:28 2008 differ

Added: trunk/banshee/src/Extensions/Banshee.Lastfm/Resources/tag.png
==============================================================================
Binary file. No diff available.

Modified: trunk/banshee/src/Libraries/Lastfm.Gui/Lastfm.Gui/AccountLoginForm.cs
==============================================================================
--- trunk/banshee/src/Libraries/Lastfm.Gui/Lastfm.Gui/AccountLoginForm.cs	(original)
+++ trunk/banshee/src/Libraries/Lastfm.Gui/Lastfm.Gui/AccountLoginForm.cs	Tue Mar 11 16:15:28 2008
@@ -80,9 +80,6 @@
                 
             username_entry.Text = account.UserName;
             password_entry.Text = account.Password;
-
-            username_entry.Changed += OnEntryChanged;
-            password_entry.Changed += OnEntryChanged;
         }
         
         protected override void OnDestroyed ()
@@ -107,21 +104,6 @@
             Attach (signup_button, 1, 2, 2, 3, AttachOptions.Shrink, AttachOptions.Shrink, 0, 0);
         }
         
-        private uint update_login_timeout = 0;
-        
-        private void OnEntryChanged (object o, EventArgs args)
-        {
-            if (!save_on_edit || update_login_timeout > 0) {
-                return;
-            }
-
-            update_login_timeout = GLib.Timeout.Add (1000, delegate {
-                UpdateLogin ();
-                update_login_timeout = 0;
-                return false;
-            });
-        }
-
         private void UpdateLogin ()
         {
             if (account.UserName != username_entry.Text.Trim () ||



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