diff --git a/ChangeLog b/ChangeLog index 97f53e4347..3f760d88ba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-05-16 Sven Neumann + + * plug-ins/script-fu/script-fu-interface.c (script_fu_interface): + removed code that used to deal with full menu paths. All our + scripts use script-fu-menu-register now. + 2007-05-16 Sven Neumann * plug-ins/script-fu/scripts/selection-round.scm diff --git a/plug-ins/script-fu/script-fu-interface.c b/plug-ins/script-fu/script-fu-interface.c index 0cca3652e9..028d2efb8c 100644 --- a/plug-ins/script-fu/script-fu-interface.c +++ b/plug-ins/script-fu/script-fu-interface.c @@ -212,18 +212,8 @@ script_fu_interface (SFScript *script, sf_interface = g_new0 (SFInterface, 1); sf_interface->widgets = g_new0 (GtkWidget *, script->num_args); - /* strip the first part of the menupath if it contains _("/Script-Fu/") */ - tmp = strstr (gettext (script->menu_path), _("/Script-Fu/")); - - if (tmp) - sf_interface->title = g_strdup (tmp + strlen (_("/Script-Fu/"))); - else - sf_interface->title = g_strdup (gettext (script->menu_path)); - /* strip mnemonics from the menupath */ - tmp = gimp_strip_uline (sf_interface->title); - g_free (sf_interface->title); - sf_interface->title = tmp; + sf_interface->title = gimp_strip_uline (gettext (script->menu_path)); /* cut off ellipsis */ tmp = (strstr (sf_interface->title, "..."));