[gnote] Fix --new-note with argument
- From: Aurimas Äernius <aurimasc src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gnote] Fix --new-note with argument
 
- Date: Sat, 27 Aug 2011 18:38:31 +0000 (UTC)
 
commit 4214c6a60e87d821ff6d2f172cc1df39e443ac56
Author: Aurimas Äernius <aurisc4 gmail com>
Date:   Sat Aug 27 21:29:54 2011 +0300
    Fix --new-note with argument
    
    Create note with given name.
    Also fixes the D-Bus API function CreateNamedNote.
 src/dbus/remotecontrol.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/dbus/remotecontrol.cpp b/src/dbus/remotecontrol.cpp
index b81031c..6ddb6f2 100644
--- a/src/dbus/remotecontrol.cpp
+++ b/src/dbus/remotecontrol.cpp
@@ -71,7 +71,7 @@ namespace gnote {
     Note::Ptr note;
 
     note = m_manager.find (linked_title);
-    if (!note)
+    if (note)
       return "";
 
     try {
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]