[gnote] Add option for status icon to preferences



commit d268e30b3f1f7ac7a453640dbef2c68792ac101b
Author: Aurimas Äernius <aurisc4 gmail com>
Date:   Sat Nov 12 17:53:28 2011 +0200

    Add option for status icon to preferences
    
    A checkbox to edit status icon setting.
    Also rename editing tab to general.
    Fixes bug 663817.

 src/preferencesdialog.cpp |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/src/preferencesdialog.cpp b/src/preferencesdialog.cpp
index bbf3f38..b431ae0 100644
--- a/src/preferencesdialog.cpp
+++ b/src/preferencesdialog.cpp
@@ -103,7 +103,7 @@ namespace gnote {
     notebook->show();
     
     notebook->append_page (*manage(make_editing_pane()),
-                           _("Editing"));
+                           _("General"));
     notebook->append_page (*manage(make_hotkeys_pane()),
                            _("Hotkeys"));
 //      }
@@ -211,6 +211,13 @@ namespace gnote {
       options_list->show();
 
 
+      // Status icon
+      check = manage(make_check_button(_("Use status _icon")));
+      options_list->pack_start(*check, false, false, 0);
+      peditor = new sharp::PropertyEditorBool(settings, Preferences::USE_STATUS_ICON, *check);
+      peditor->setup();
+
+
       // Spell checking...
 
 #if FIXED_GTKSPELL



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