summaryrefslogtreecommitdiffstats
path: root/src/extension/effect.cpp
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2008-12-10 21:36:50 +0000
committerTed Gould <ted@canonical.com>2008-12-10 21:36:50 +0000
commit31f41e23c5f4653263b564ad080649f10be055e5 (patch)
tree5435ba4c8754720172352dc0180bd723a6f45f1c /src/extension/effect.cpp
parentuse 2geom bezier fitting (is copy of inkscape's) (diff)
downloadinkscape-31f41e23c5f4653263b564ad080649f10be055e5.tar.gz
inkscape-31f41e23c5f4653263b564ad080649f10be055e5.zip
* 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)
Diffstat (limited to 'src/extension/effect.cpp')
-rw-r--r--src/extension/effect.cpp3
1 files changed, 2 insertions, 1 deletions
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();