diff --git a/easymacro.py b/easymacro.py index 4bf00d4..22ba481 100644 --- a/easymacro.py +++ b/easymacro.py @@ -6234,6 +6234,14 @@ class Paths(object): return True + @classmethod + def image(cls, path): + gp = create_instance('com.sun.star.graphic.GraphicProvider') + image = gp.queryGraphic(( + PropertyValue(Name='URL', Value=cls.to_url(path)), + )) + return image + @classmethod def copy(cls, source, target='', name=''): p, f, n, e = _P(source).info diff --git a/files/ZAZFavorites_v0.6.0.oxt b/files/ZAZFavorites_v0.6.0.oxt index 0fe8f0f..4dd95d2 100644 Binary files a/files/ZAZFavorites_v0.6.0.oxt and b/files/ZAZFavorites_v0.6.0.oxt differ diff --git a/source/images/delete.svg b/source/images/delete.svg index feea981..dbbf8ac 100644 --- a/source/images/delete.svg +++ b/source/images/delete.svg @@ -5,21 +5,45 @@ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" id="Layer_1" x="0px" y="0px" - viewBox="0 0 31.999582 4.9999995" + viewBox="0 0 24 24" xml:space="preserve" - width="31.999582" - height="4.9999995">image/svg+xml + transform="matrix(0.03658537,0,0,0.0650398,3.0335128,-4.2925925)">