Slavek,
I ran into a strange bug on my system. Long story short, part of the problem I traced to incomplete updates of the ktexteditor_ string.
Attached is another r14-xdg-update patch. Please review.
I modified the test for $PROFILE_DIR/share/apps/tdestyle and kstyle from -f to -d. On my system there are no files of that name in $TDEHOME/share/apps, only directories.
I tested the patch here. The update fixed all straggling ktexteditor_ strings and moved my $TDEHOME/share/apps/kstyle directory to $TDEHOME/share/apps/tdestyle, which had never been done with previous versions of r14-xdg-update.
Darrell