[gnote] * Can now close the template note opened when the Preferences



commit 918b6a3aef66de605e602c13ab2a74cb98a6c050
Author: Hubert Figuiere <hub figuiere net>
Date:   Thu Apr 16 20:26:01 2009 -0400

      * Can now close the template note opened when the Preferences
        dialog is open. (Close #579105)
---
 NEWS          |    5 +++++
 src/gnote.cpp |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/NEWS b/NEWS
index 1576303..4f2f2e7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,10 @@
 0.1.3
 
+Fixes:
+
+  * Can now close the template note opened when the Preferences
+    dialog is open. (Close #579105)
+
 Translations:
 
   * Update comment to reflect format in strings. (Close #579209)
diff --git a/src/gnote.cpp b/src/gnote.cpp
index bc7e931..9185dc2 100644
--- a/src/gnote.cpp
+++ b/src/gnote.cpp
@@ -226,7 +226,7 @@ namespace gnote {
       m_prefsdlg = new PreferencesDialog(/*addin manager*/);
       m_prefsdlg->signal_response().connect(sigc::mem_fun(*this, &Gnote::on_preferences_response));
     }
-    m_prefsdlg->run();
+    m_prefsdlg->present();
   }
 
   void Gnote::on_show_help_action()



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