Upload files to 'UI'
This commit is contained in:
parent
bc0d5980d7
commit
3280771f75
1 changed files with 8 additions and 3 deletions
|
@ -285,6 +285,11 @@ def image(layer, win ,path, x, y, width=0, height=0, fit="crop"):
|
||||||
load1 = GdkPixbuf.Pixbuf.new_from_file("settings/themes/"\
|
load1 = GdkPixbuf.Pixbuf.new_from_file("settings/themes/"\
|
||||||
+win.settings["Theme"]+"/icons/image.png")
|
+win.settings["Theme"]+"/icons/image.png")
|
||||||
|
|
||||||
|
else:
|
||||||
|
|
||||||
|
if path.endswith(".progress"):
|
||||||
|
load1 = GdkPixbuf.Pixbuf.new_from_file("settings/themes/"\
|
||||||
|
+win.settings["Theme"]+"/icons/checklist.png")
|
||||||
else:
|
else:
|
||||||
load1 = GdkPixbuf.Pixbuf.new_from_file("settings/themes/"\
|
load1 = GdkPixbuf.Pixbuf.new_from_file("settings/themes/"\
|
||||||
+win.settings["Theme"]+"/icons/file.png")
|
+win.settings["Theme"]+"/icons/file.png")
|
||||||
|
@ -654,7 +659,7 @@ def text(outlayer, win, name, x, y, width, height, set_text="", parse=False, fil
|
||||||
)
|
)
|
||||||
if win.textactive == name:
|
if win.textactive == name:
|
||||||
layer.fill()
|
layer.fill()
|
||||||
else:
|
elif win.text[name]["cursor"][0] != win.text[name]["cursor"][1]:
|
||||||
layer.stroke()
|
layer.stroke()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue