summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 967eb73)
raw | patch | inline | side by side (parent: 967eb73)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Fri, 28 Sep 2007 23:32:30 +0000 (23:32 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Fri, 28 Sep 2007 23:32:30 +0000 (23:32 +0000) |
share/keys/default.xml | patch | blob | history | |
share/keys/inkscape.xml | patch | blob | history | |
src/help.cpp | patch | blob | history | |
src/help.h | patch | blob | history | |
src/verbs.cpp | patch | blob | history | |
src/verbs.h | patch | blob | history |
diff --git a/share/keys/default.xml b/share/keys/default.xml
index 6f500e23f71a12de6e8cf2c9d43d5b6ea800a9bc..d77cdaa25509b310f3b6f590f369461564675fa3 100644 (file)
--- a/share/keys/default.xml
+++ b/share/keys/default.xml
<!-- Help -->
- <bind action="HelpKeys" />
<bind action="HelpAboutExtensions" />
<bind action="HelpAboutMemory" />
<bind action="HelpAbout" />
<!-- There are also verbs for tutorials, if you really need them -->
+ <!-- Other commands in Help are implemented as extensions, with ids of org.inkscape.help.* -->
<!-- Effects -->
index 6f500e23f71a12de6e8cf2c9d43d5b6ea800a9bc..d77cdaa25509b310f3b6f590f369461564675fa3 100644 (file)
--- a/share/keys/inkscape.xml
+++ b/share/keys/inkscape.xml
<!-- Help -->
- <bind action="HelpKeys" />
<bind action="HelpAboutExtensions" />
<bind action="HelpAboutMemory" />
<bind action="HelpAbout" />
<!-- There are also verbs for tutorials, if you really need them -->
+ <!-- Other commands in Help are implemented as extensions, with ids of org.inkscape.help.* -->
<!-- Effects -->
diff --git a/src/help.cpp b/src/help.cpp
index 919a200b04f8aadf485b2649dbe4296c87806ae3..8bae656c530fa45e15727efa79b53349e217c140 100644 (file)
--- a/src/help.cpp
+++ b/src/help.cpp
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 34569e840c0453e39ad93f9c4004b74c2ce79ada..ab1008257f4e12affd6cfc458ab1b354e3f83f3a 100644 (file)
--- a/src/help.h
+++ b/src/help.h
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 7fd03631173d75ae7620148a3ebf35405b112467..711f24879ec64a0d27cedd54db3500cf81034b2c 100644 (file)
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
g_assert(dt->_dlg_mgr != NULL);
switch (reinterpret_cast<std::size_t>(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;
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 838a7581ca069d887dc8269882259af50d1f7153..48bf8982553e64ecf4a93d6166b45184be266e00 100644 (file)
--- a/src/verbs.h
+++ b/src/verbs.h
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,