Commit 96ed9997 authored by David Rabel's avatar David Rabel Committed by Kai Willadsen

Bugfix: error dialog for multiple line text filters fixed

In patch eee58a57 we applied
a new text filter mechanism. This broke the error message when using
multiple line text filters.

Because the filters are not applied one by one anymore, the error dialog
does not know which filter is wrong.

With this patch the filter is no longer mentioned in the error message.

https://bugzilla.gnome.org/show_bug.cgi?id=761028
parent 08486cbd
......@@ -793,9 +793,9 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
misc.error_dialog(
primary=_(u"Comparison results will be inaccurate"),
secondary=_(
u"Filter “%s” changed the number of lines in the "
u"A filter changed the number of lines in the "
u"file, which is unsupported. The comparison will "
u"not be accurate.") % filt.label,
u"not be accurate."),
)
self.warned_bad_comparison = True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment