Code

r11143@tres: ted | 2006-03-27 21:54:21 -0800
authorgouldtj <gouldtj@users.sourceforge.net>
Wed, 29 Mar 2006 05:44:38 +0000 (05:44 +0000)
committergouldtj <gouldtj@users.sourceforge.net>
Wed, 29 Mar 2006 05:44:38 +0000 (05:44 +0000)
 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
src/menus-skeleton.h

index c9d32c7e2c75f2ed204d0f63d216ac32cb639f81..f4f6691edee23098929083bec9a6a6f52f75cb69 100644 (file)
@@ -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);
index b8a6723502f5811297169c1c70ec55cd53550003..9f6e74fbc40b9789b9fb08400a06c8a30ad5506a 100644 (file)
@@ -247,7 +247,7 @@ static char const menus_skeleton[] =
 "           <verb verb-id=\"TutorialsDesign\" />\n"
 "           <verb verb-id=\"TutorialsTips\" />\n"
 "       </submenu>\n"
-"       <verb verb-id=\"org.inkscape.dialogs.extensioneditor\" />\n"
+//"       <verb verb-id=\"org.inkscape.dialogs.extensioneditor\" />\n"
 "       <verb verb-id=\"HelpAboutMemory\" />\n"
 "       <verb verb-id=\"HelpAbout\" />\n"
 //"       <verb verb-id=\"ShowLicense\" />\n"