diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-02-16 22:44:21 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-02-16 22:44:21 +0000 |
| commit | 48d75545fec31f7121cdd0073e2ce7a1de2d9ca0 (patch) | |
| tree | c36a293c23831d2d84ac6d2c03a2a00b5c3767d9 /src/help.h | |
| parent | Show helpful message if tutorials are not installed (diff) | |
| download | inkscape-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.h | 2 |
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 |
