[gnote/stable-0.7] Change tomboyimport according recent Tomboy



commit 5d49a6cee9b710cfe261f230b32ec53732442543
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date:   Sat Jun 4 22:48:52 2011 +0300

    Change tomboyimport according recent Tomboy
    
    Change the directory, where Gnote looks for Tomboy notes.
    It is expected, that more recent version of Tomboy was used and
    notes are held in ~/.local/share/tomboy rather than ~/.tomboy.
    Thanks Paul Bogmat.

 src/addins/tomboyimport/tomboyimportaddin.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/addins/tomboyimport/tomboyimportaddin.cpp b/src/addins/tomboyimport/tomboyimportaddin.cpp
index 5cf03b4..3e1f35c 100644
--- a/src/addins/tomboyimport/tomboyimportaddin.cpp
+++ b/src/addins/tomboyimport/tomboyimportaddin.cpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2010 Aurimas Cernius
+ * Copyright (C) 2010-2011 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  *
  * This program is free software: you can redistribute it and/or modify
@@ -69,7 +69,7 @@ const char * TomboyImportModule::version() const
 void TomboyImportAddin::initialize()
 {
   m_tomboy_path =
-    Glib::build_filename(Glib::get_home_dir(), ".tomboy");
+    Glib::build_filename(Glib::get_user_data_dir(), "tomboy");
 
   m_initialized = true;
 }



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