Upload files to 'UI'

This commit is contained in:
Jeison Yehuda Amihud (Blender Dumbass) 2020-12-09 19:17:30 +00:00
parent bc0d5980d7
commit 3280771f75

View file

@ -286,8 +286,13 @@ def image(layer, win ,path, x, y, width=0, height=0, fit="crop"):
+win.settings["Theme"]+"/icons/image.png")
else:
load1 = GdkPixbuf.Pixbuf.new_from_file("settings/themes/"\
+win.settings["Theme"]+"/icons/file.png")
if path.endswith(".progress"):
load1 = GdkPixbuf.Pixbuf.new_from_file("settings/themes/"\
+win.settings["Theme"]+"/icons/checklist.png")
else:
load1 = GdkPixbuf.Pixbuf.new_from_file("settings/themes/"\
+win.settings["Theme"]+"/icons/file.png")
# First we need to make a pixbuf.
@ -654,7 +659,7 @@ def text(outlayer, win, name, x, y, width, height, set_text="", parse=False, fil
)
if win.textactive == name:
layer.fill()
else:
elif win.text[name]["cursor"][0] != win.text[name]["cursor"][1]:
layer.stroke()