tomboy r1966 - in trunk: . Tomboy/Addins/Tasque



Author: btimothy
Date: Thu Mar 13 04:45:37 2008
New Revision: 1966
URL: http://svn.gnome.org/viewvc/tomboy?rev=1966&view=rev

Log:
* Tomboy/Addins/Tasque/TasqueNoteAddin.cs: Use "All" as the category
  name when a user clicks on the big Tasque button instead of
  selecting a category name from the Tasque drop-down button.  This
  will tell Tasque to use the default category when creating the
  task.

Modified:
   trunk/ChangeLog
   trunk/Tomboy/Addins/Tasque/TasqueNoteAddin.cs

Modified: trunk/Tomboy/Addins/Tasque/TasqueNoteAddin.cs
==============================================================================
--- trunk/Tomboy/Addins/Tasque/TasqueNoteAddin.cs	(original)
+++ trunk/Tomboy/Addins/Tasque/TasqueNoteAddin.cs	Thu Mar 13 04:45:37 2008
@@ -75,8 +75,11 @@
 			if (taskName == null)
 				return;
 			
-Logger.Debug ("\n\n****OnMenuToolButtonClicked****\n\n");
-			CreateTask (string.Empty, taskName);
+			// Note to translators: "All" here must match up with the "All"
+			// category translation in Tasque for this to work properly.  "All"
+			// is used here to allow Tasque to decide which default category
+			// will be used to create the new task.
+			CreateTask (Catalog.GetString ("All"), taskName);
 		}
 
 		void OnMenuItemActivated (object sender, EventArgs args)



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