[gnote] Updated noteoftheday



commit 8d8b170f44d4d2eeb6ae2d74227e306695736686
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Oct 6 21:46:37 2019 +0300

    Updated noteoftheday

 src/addins/noteoftheday/noteoftheday.cpp           | 4 +---
 src/addins/noteoftheday/noteoftheday.desktop.in.in | 2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/addins/noteoftheday/noteoftheday.cpp b/src/addins/noteoftheday/noteoftheday.cpp
index f949ac6b..bb3a4e59 100644
--- a/src/addins/noteoftheday/noteoftheday.cpp
+++ b/src/addins/noteoftheday/noteoftheday.cpp
@@ -25,7 +25,6 @@
 #include "debug.hpp"
 #include "notemanager.hpp"
 #include "noteoftheday.hpp"
-#include "itagmanager.hpp"
 #include "utils.hpp"
 
 namespace noteoftheday {
@@ -54,8 +53,7 @@ gnote::NoteBase::Ptr NoteOfTheDay::create(gnote::NoteManager & manager,
   }
 
   // Automatically tag all new Note of the Day notes
-  notd->add_tag(gnote::ITagManager::obj().get_or_create_system_tag(
-                                           "NoteOfTheDay"));
+  notd->add_tag(manager.tag_manager().get_or_create_system_tag("NoteOfTheDay"));
 
   return notd;
 }
diff --git a/src/addins/noteoftheday/noteoftheday.desktop.in.in 
b/src/addins/noteoftheday/noteoftheday.desktop.in.in
index 7890e331..8be3b7cd 100644
--- a/src/addins/noteoftheday/noteoftheday.desktop.in.in
+++ b/src/addins/noteoftheday/noteoftheday.desktop.in.in
@@ -4,7 +4,7 @@ _Name=Note of the Day
 _Description=Automatically creates a "Today" note for easily jotting down daily thoughts
 _Authors=Debarshi Ray and the Tomboy Project
 Category=Tools
-Version=0.2
+Version=0.3
 DefaultEnabled=false
 Module=libnoteoftheday
 LibgnoteRelease=@LIBGNOTE_RELEASE@


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