From 058670835d7fabe767a6de312c1e7b77f6ebfbf5 Mon Sep 17 00:00:00 2001 From: gouldtj Date: Wed, 29 Mar 2006 05:44:38 +0000 Subject: [PATCH] r11143@tres: ted | 2006-03-27 21:54:21 -0800 Hiding the button for the extension editor and the help button on the preferences dialogs. While they are marginially useful now, I've had too much of this code on my machine for too long. I'd like to have more of it see the light of day, and protect it from thigns like crashes. Defeats the point of Open Source if everything is just sitting on my harddrive. --- src/extension/prefdialog.cpp | 2 ++ src/menus-skeleton.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/extension/prefdialog.cpp b/src/extension/prefdialog.cpp index c9d32c7e2..f4f6691ed 100644 --- a/src/extension/prefdialog.cpp +++ b/src/extension/prefdialog.cpp @@ -35,9 +35,11 @@ PrefDialog::PrefDialog (Glib::ustring name, gchar const * help, Gtk::Widget * co hbox->show(); this->get_vbox()->pack_start(*hbox, true, true, 6); + /* Gtk::Button * help_button = add_button(Gtk::Stock::HELP, Gtk::RESPONSE_HELP); if (_help == NULL) help_button->set_sensitive(false); + */ add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL); Gtk::Button * ok = add_button(Gtk::Stock::OK, Gtk::RESPONSE_OK); diff --git a/src/menus-skeleton.h b/src/menus-skeleton.h index b8a672350..9f6e74fbc 100644 --- a/src/menus-skeleton.h +++ b/src/menus-skeleton.h @@ -247,7 +247,7 @@ static char const menus_skeleton[] = " \n" " \n" " \n" -" \n" +//" \n" " \n" " \n" //" \n" -- 2.30.2