[gnote] Change tomboyimport according recent Tomboy
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Change tomboyimport according recent Tomboy
- Date: Sun, 5 Jun 2011 14:10:49 +0000 (UTC)
commit 9e9fe609e0cf87c2e94b771e7b71230635ae3493
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]