[gnote] Add option for open in new window



commit 5fb2eba5e906974fa354b96e6d71a3463f87fafb
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Mon Jun 24 17:49:22 2013 +0300

    Add option for open in new window
    
    Checkbox in preferences dialog to enable feature.
    Part of Bug 700458.

 src/preferencesdialog.cpp |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/preferencesdialog.cpp b/src/preferencesdialog.cpp
index 7cf8c15..352dab4 100644
--- a/src/preferencesdialog.cpp
+++ b/src/preferencesdialog.cpp
@@ -249,6 +249,13 @@ namespace gnote {
       peditor->setup();
 
 
+      // Open in new window
+      check = manage(make_check_button(_("Always _open notes in new window")));
+      options_list->attach(*check, 0, options_list_row++, 1, 1);
+      peditor = new sharp::PropertyEditorBool(settings, Preferences::OPEN_NOTES_IN_NEW_WINDOW, *check);
+      peditor->setup();
+
+
       // Spell checking...
 
 #if FIXED_GTKSPELL


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