[gnote/stable-0.6] Fix auto-selection of newly created note's contents



commit 3766b5aa2e1206a2869637a1949ef0110426e789
Author: Debarshi Ray <debarshir src gnome org>
Date:   Mon Mar 22 16:28:59 2010 +0200

    Fix auto-selection of newly created note's contents
    
    Fixes: https://bugzilla.gnome.org/608311
    (cherry picked from commit 789b02fefacd7cb69032b5a52def820c94087a04)

 src/notemanager.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/notemanager.cpp b/src/notemanager.cpp
index c1019cc..0fa5b85 100644
--- a/src/notemanager.cpp
+++ b/src/notemanager.cpp
@@ -543,7 +543,7 @@ namespace gnote {
     // it so it can be easily overwritten
     body = _("Describe your new note here.");
     
-    std::string header = title + "\n\n";
+    Glib::ustring header = title + "\n\n";
     std::string content =
       boost::str(boost::format("<note-content>%1%%2%</note-content>") %
                  utils::XmlEncoder::encode (header) 



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