[tomboy] Name note being deleted in confirmation



commit 6a3bb1c863cd775e1eb01780460c27d4457ee96d
Author: Aaron Borden <adborden live com>
Date:   Fri Nov 19 10:21:27 2010 -0500

    Name note being deleted in confirmation

 Tomboy/Note.cs |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/Tomboy/Note.cs b/Tomboy/Note.cs
index cf332cf..1eff74b 100644
--- a/Tomboy/Note.cs
+++ b/Tomboy/Note.cs
@@ -1574,9 +1574,10 @@ namespace Tomboy
 
 			if ((bool) Preferences.Get (Preferences.ENABLE_DELETE_CONFIRM)) {
 				// show confirmation dialog
-				if (notes.Count == 1)
-					message = Catalog.GetString ("Really delete this note?");
-				else
+				if (notes.Count == 1) {
+					Note note = notes[0];
+					message = string.Format (Catalog.GetString ("Really delete \"{0}\"?"), note.Title) ;	
+				} else
 					message = string.Format (Catalog.GetPluralString (
 						"Really delete this {0} note?",
 						"Really delete these {0} notes?",



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