From 31f41e23c5f4653263b564ad080649f10be055e5 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 10 Dec 2008 13:36:50 -0800 Subject: * Removing the bitmap files that aren't being used. * Removing the filter files that haven't been used. * Adding a small little script to pull the strings out of the filters.svg file and pull them into a header file so that they can be translated. * Fix generate_POTFILES.sh so that it warns that it'll probably break things * Update POTFILES.in so that it matches the files better. * Making a bunch of .svg files not executable. * Patching the effects code so that the sorting of the menus is correct and the first entry is not ignored. (bzr r6984) --- src/extension/effect.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/extension/effect.cpp') diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp index e6b1bf60b..5abcdbf79 100644 --- a/src/extension/effect.cpp +++ b/src/extension/effect.cpp @@ -135,12 +135,13 @@ Effect::merge_menu (Inkscape::XML::Node * base, if (start != NULL) { Inkscape::XML::Node * menupass; - for (menupass = start->next(); menupass != NULL; menupass = menupass->next()) { + for (menupass = start; menupass != NULL; menupass = menupass->next()) { gchar const * compare_char = NULL; if (!strcmp(menupass->name(), "verb")) { gchar const * verbid = menupass->attribute("verb-id"); Inkscape::Verb * verb = Inkscape::Verb::getbyid(verbid); if (verb == NULL) { + g_warning("Unable to find verb '%s' which is referred to in the menus.", verbid); continue; } compare_char = verb->get_name(); -- cgit v1.2.3