dialog.run();
}
+void
+App::dialog_help()
+{
+ Gtk::MessageDialog dialog(_("Documentation"), false, Gtk::MESSAGE_INFO, Gtk::BUTTONS_CLOSE, true);
+ dialog.set_secondary_text(_("Documentation for Synfig Studio is available on the website:\n\nhttp://www.synfig.org/Documentation"));
+ dialog.set_title(_("Help"));
+ dialog.run();
+}
+
bool
App::dialog_entry(const std::string &title, const std::string &message,std::string &text)
{
static void dialog_not_implemented();
+ static void dialog_help();
+
static synfig::String get_user_app_directory();
static synfig::String get_config_file(const synfig::String& file);
}; // END of class App
Gtk::Menu *helpmenu = manage(new class Gtk::Menu());
helpmenu->items().push_back(Gtk::Menu_Helpers::StockMenuElem(Gtk::Stock::HELP,
- sigc::ptr_fun(studio::App::dialog_not_implemented)));
+ sigc::ptr_fun(studio::App::dialog_help)));
helpmenu->items().push_back(Gtk::Menu_Helpers::SeparatorElem());
helpmenu->items().push_back(Gtk::Menu_Helpers::StockMenuElem(Gtk::StockID("synfig-about"),
sigc::ptr_fun(studio::App::dialog_about)));