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



commit 789b02fefacd7cb69032b5a52def820c94087a04
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

 src/notemanager.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/notemanager.cpp b/src/notemanager.cpp
index 0608009..c6e4849 100644
--- a/src/notemanager.cpp
+++ b/src/notemanager.cpp
@@ -593,7 +593,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]