From: buliabyak Date: Fri, 28 Sep 2007 23:32:30 +0000 (+0000) Subject: remove the disabled old svg-keys-chart verb X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=86edc85bf31ea6b00a2fc96a2d4695cb663aaefa;p=inkscape.git remove the disabled old svg-keys-chart verb --- diff --git a/share/keys/default.xml b/share/keys/default.xml index 6f500e23f..d77cdaa25 100644 --- a/share/keys/default.xml +++ b/share/keys/default.xml @@ -531,11 +531,11 @@ override) the bindings in the main default.xml. - + diff --git a/share/keys/inkscape.xml b/share/keys/inkscape.xml index 6f500e23f..d77cdaa25 100644 --- a/share/keys/inkscape.xml +++ b/share/keys/inkscape.xml @@ -531,11 +531,11 @@ override) the bindings in the main default.xml. - + diff --git a/src/help.cpp b/src/help.cpp index 919a200b0..8bae656c5 100644 --- a/src/help.cpp +++ b/src/help.cpp @@ -38,15 +38,6 @@ sp_help_open_tutorial(GtkMenuItem *, gpointer data) g_free(c); } -void -sp_help_open_screen(gchar const *name) -{ - gchar *c = g_build_filename(INKSCAPE_SCREENSDIR, name, NULL); - sp_file_open(c, NULL, false, false); - g_free(c); -} - - /* Local Variables: mode:c++ diff --git a/src/help.h b/src/help.h index 34569e840..ab1008257 100644 --- a/src/help.h +++ b/src/help.h @@ -18,7 +18,6 @@ void sp_help_about(void); void sp_help_open_tutorial(GtkMenuItem *menuitem, gpointer data); -void sp_help_open_screen(gchar const *name); #endif /* !SEEN_HELP_H */ diff --git a/src/verbs.cpp b/src/verbs.cpp index 7fd036311..711f24879 100644 --- a/src/verbs.cpp +++ b/src/verbs.cpp @@ -1775,12 +1775,6 @@ HelpVerb::perform(SPAction *action, void *data, void *pdata) g_assert(dt->_dlg_mgr != NULL); switch (reinterpret_cast(data)) { - case SP_VERB_HELP_KEYS: - /* TRANSLATORS: If you have translated the keys.svg file to your language, then - translate this string as "keys.LANG.svg" (where LANG is your language code); - otherwise leave as "keys.svg". */ - sp_help_open_screen(_("keys.svg")); - break; case SP_VERB_HELP_ABOUT: sp_help_about(); break; @@ -2552,8 +2546,6 @@ Verb *Verb::_base_verbs[] = { N_("Manage SVG filter effects"), NULL), /* Help */ - new HelpVerb(SP_VERB_HELP_KEYS, "HelpKeys", N_("_Keys and Mouse"), - N_("Keys and mouse shortcuts reference"), "help_keys"), new HelpVerb(SP_VERB_HELP_ABOUT_EXTENSIONS, "HelpAboutExtensions", N_("About E_xtensions"), N_("Information on Inkscape extensions"), NULL), new HelpVerb(SP_VERB_HELP_MEMORY, "HelpAboutMemory", N_("About _Memory"), diff --git a/src/verbs.h b/src/verbs.h index 838a7581c..48bf89825 100644 --- a/src/verbs.h +++ b/src/verbs.h @@ -222,7 +222,6 @@ enum { SP_VERB_DIALOG_LIVE_PATH_EFFECT, SP_VERB_DIALOG_FILTER_EFFECTS, /* Help */ - SP_VERB_HELP_KEYS, SP_VERB_HELP_ABOUT_EXTENSIONS, SP_VERB_HELP_MEMORY, SP_VERB_HELP_ABOUT,