Upload files to 'UI'
This commit is contained in:
parent
bc0d5980d7
commit
3280771f75
1 changed files with 8 additions and 3 deletions
|
@ -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()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue