[gnote] Fix opening notes via command line args



commit 8a6c868e767d97b5db197dd13e5270a1f75d48fb
Author: Aurimas Äernius <aurisc4 gmail com>
Date:   Sun Feb 17 19:19:05 2013 +0200

    Fix opening notes via command line args

 src/gnote.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnote.cpp b/src/gnote.cpp
index cc51243..ba0f9d3 100644
--- a/src/gnote.cpp
+++ b/src/gnote.cpp
@@ -208,7 +208,7 @@ namespace gnote {
       new_main_window();
     }
     else {
-      am["ShowSearchAllNotesAction"]->activate();
+      get_main_window().present();
     }
   }
 


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