[gnote] Remove separator related code from preferences dialog



commit 8042f7fda0eb4fde1296181974c453fdda78c1c6
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date:   Thu May 12 21:52:24 2011 +0300

    Remove separator related code from preferences dialog
    
    Separator related parts of Gtk::Dialog are unavailable in GTK 3.

 src/preferencesdialog.cpp |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/preferencesdialog.cpp b/src/preferencesdialog.cpp
index da1438a..08f0887 100644
--- a/src/preferencesdialog.cpp
+++ b/src/preferencesdialog.cpp
@@ -83,7 +83,6 @@ namespace gnote {
     , m_addin_manager(addinmanager)
   {
 //    set_icon(utils::get_icon("gnote"));
-    set_has_separator(false);
     set_border_width(5);
     set_resizable(true);
     set_title(_("Gnote Preferences"));
@@ -779,7 +778,7 @@ namespace gnote {
 
       dialog = new Gtk::Dialog(
         str(boost::format(_("%1% Preferences")) % module->name()),
-        *this, false, false);
+        *this, false);
       dialog->property_destroy_with_parent() = true;
       dialog->add_button(Gtk::Stock::CLOSE, Gtk::RESPONSE_CLOSE);
 
@@ -1000,7 +999,7 @@ namespace gnote {
 
   AddinInfoDialog::AddinInfoDialog(const sharp::DynamicModule * module,
                                    Gtk::Dialog &parent)
-    : Gtk::Dialog(module->name(), parent, false, true)
+    : Gtk::Dialog(module->name(), parent, false)
     , m_module(module)
   {
     property_destroy_with_parent() = true;



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