summaryrefslogtreecommitdiffstats
path: root/src/help.h
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-02-16 22:44:21 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-02-16 22:44:21 +0000
commit48d75545fec31f7121cdd0073e2ce7a1de2d9ca0 (patch)
treec36a293c23831d2d84ac6d2c03a2a00b5c3767d9 /src/help.h
parentShow helpful message if tutorials are not installed (diff)
downloadinkscape-48d75545fec31f7121cdd0073e2ce7a1de2d9ca0.tar.gz
inkscape-48d75545fec31f7121cdd0073e2ce7a1de2d9ca0.zip
Tutorials: Improve logic for loading localized versions
There's no need to translate every filename, just translate the language code. Also use Inkscape::IO::Resource::get_filename to ensure we fall-back to Englishstutorials should the localized versions not be available.
Diffstat (limited to 'src/help.h')
-rw-r--r--src/help.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/help.h b/src/help.h
index 810cec4e6..efdbe5349 100644
--- a/src/help.h
+++ b/src/help.h
@@ -18,7 +18,7 @@ typedef struct _GtkMenuItem GtkMenuItem;
* Help/About window.
*/
void sp_help_about();
-void sp_help_open_tutorial(GtkMenuItem * /*unused*/, void* data);
+void sp_help_open_tutorial(Glib::ustring name);
#endif // !SEEN_HELP_H