diff options
| author | jabiertxof <> | 2017-01-26 01:24:46 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2017-01-26 01:24:46 +0000 |
| commit | bbb714926033738fb53a2d1fd794a391d4c5a292 (patch) | |
| tree | b7ae8c3b8d2cb73cce334aa5a8eef6345175eede /src | |
| parent | Fix disappearing text when outer line-height is zero. (diff) | |
| download | inkscape-bbb714926033738fb53a2d1fd794a391d4c5a292.tar.gz inkscape-bbb714926033738fb53a2d1fd794a391d4c5a292.zip | |
defaults to about.svg when localized versions fail
(bzr r15453)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/aboutbox.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/dialog/aboutbox.cpp b/src/ui/dialog/aboutbox.cpp index 8f0545e96..e7572b3ce 100644 --- a/src/ui/dialog/aboutbox.cpp +++ b/src/ui/dialog/aboutbox.cpp @@ -162,6 +162,9 @@ Gtk::Widget *build_splash_widget() { // should be in UTF-*8.. char *about=g_build_filename(INKSCAPE_SCREENSDIR, _("about.svg"), NULL); + if (!g_file_test (about, G_FILE_TEST_EXISTS)) { + about=g_build_filename(INKSCAPE_SCREENSDIR, "about.svg", NULL); + } SPDocument *doc=SPDocument::createNewDoc (about, TRUE); g_free(about); g_return_val_if_fail(doc != NULL, NULL); |
