mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 01:43:24 +00:00
plug-ins: allow "html" extension for colorxhtml.
There is no reason to limit it to "xhtml" only. Even more, in all browsers I tried, the exported page was failing to load with the '.xtml' extension, while it loads fine when renamed as '.html'. Only problem is that now we have 2 plug-ins able to save as html (other is file-html-table) and the first in the procedure list (with no explicit logics right now) will just shadow the next one. We will have to add some generic infrastructure to allow people to choose favorite load/export plug-ins, probably in Preferences, next to the raw plug-in selection.
This commit is contained in:
parent
2e40b8d674
commit
7c6a147ffb
1 changed files with 1 additions and 3 deletions
|
@ -320,9 +320,7 @@ class ColorXhtml(Gimp.PlugIn):
|
|||
"(c) GPL V3.0 or later",
|
||||
"2003")
|
||||
|
||||
# Not sure there is a good reason to set the file extension as xhtml
|
||||
# rather than html. Is it possible to have two plugins use the same extensions?
|
||||
procedure.set_extensions ("xhtml");
|
||||
procedure.set_extensions ("html,xhtml");
|
||||
|
||||
procedure.add_argument_from_property(self, "source-file")
|
||||
procedure.add_argument_from_property(self, "characters")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue