From: buliabyak Date: Tue, 24 Oct 2006 22:08:37 +0000 (+0000) Subject: fix 1574873 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fe7174441b868494a3b081d0f949662159155db2;p=inkscape.git fix 1574873 --- diff --git a/src/interface.cpp b/src/interface.cpp index 17248a206..99f6c394f 100644 --- a/src/interface.cpp +++ b/src/interface.cpp @@ -691,7 +691,7 @@ sp_menu_append_new_templates(GtkWidget *menu, Inkscape::UI::View::View *view) if (dir) { for (gchar const *file = g_dir_read_name(dir); file != NULL; file = g_dir_read_name(dir)) { - if (!g_str_has_suffix(file, ".svg")) + if (!g_str_has_suffix(file, ".svg") && !g_str_has_suffix(file, ".svgz")) continue; // skip non-svg files gchar *basename = g_path_get_basename(file);