banshee r3307 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.Library
- From: scottp svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3307 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.Library
- Date: Sat, 23 Feb 2008 03:54:33 +0000 (GMT)
Author: scottp
Date: Sat Feb 23 03:54:32 2008
New Revision: 3307
URL: http://svn.gnome.org/viewvc/banshee?rev=3307&view=rev
Log:
* src/Core/Banshee.Services/Banshee.Library/ThreadPoolImportSource.cs:
Minor fix for fetching the UserJob's Title.
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.Services/Banshee.Library/ThreadPoolImportSource.cs
Modified: trunk/banshee/src/Core/Banshee.Services/Banshee.Library/ThreadPoolImportSource.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Services/Banshee.Library/ThreadPoolImportSource.cs (original)
+++ trunk/banshee/src/Core/Banshee.Services/Banshee.Library/ThreadPoolImportSource.cs Sat Feb 23 03:54:32 2008
@@ -100,12 +100,19 @@
}
}
+ private string user_job_title;
protected virtual string UserJobTitle {
- get { return String.Format (Catalog.GetString ("Importing Songs from {0}"), Name); }
+ get {
+ if (user_job_title == null) {
+ user_job_title = String.Format (Catalog.GetString ("Importing Songs from {0}"), Name);
+ }
+ return user_job_title;
+ }
}
+ private string cancel_message = Catalog.GetString ("The import process is currently running. Would you like to stop it?");
protected virtual string CancelMessage {
- get { return Catalog.GetString ("The import process is currently running. Would you like to stop it?"); }
+ get { return cancel_message; }
}
protected virtual bool CanCancel {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]