Upload files to 'project_manager'
This commit is contained in:
parent
07cf222227
commit
8bbb36119e
1 changed files with 9 additions and 4 deletions
|
@ -10,6 +10,7 @@ gi.require_version('Gtk', '3.0')
|
|||
from gi.repository import Gtk
|
||||
from gi.repository import GLib
|
||||
import cairo
|
||||
import threading
|
||||
|
||||
# Own modules
|
||||
from settings import settings
|
||||
|
@ -70,7 +71,7 @@ def run():
|
|||
win.previous = {}
|
||||
win.current = {}
|
||||
win.images = {}
|
||||
win.imageload = False
|
||||
win.imageload = 0
|
||||
win.text = {}
|
||||
win.textactive = ""
|
||||
win.scroll = {}
|
||||
|
@ -80,6 +81,9 @@ def run():
|
|||
win.projects = {}
|
||||
win.calllayer = False
|
||||
|
||||
t2 = threading.Thread(target=update_reader.get_update_info, args=(win,))
|
||||
t2.start()
|
||||
|
||||
if not settings.read("Username"):
|
||||
settings.write("Username", "VCStudio-User")
|
||||
|
||||
|
@ -155,9 +159,10 @@ def pmdrawing(pmdrawing, main_layer, win):
|
|||
|
||||
# Getting update info. I've added a bit of delay. So the starting of the
|
||||
# Popen would not be noticed by the user as much.
|
||||
if win.current["frame"] > 50:
|
||||
GLib.timeout_add(1 , update_reader.get_update_info, win)
|
||||
|
||||
#if win.current["frame"] > 50:
|
||||
GLib.timeout_add(1 , update_reader.get_update_info, win)
|
||||
#t2 = threading.Thread(target=update_reader.get_update_info, args=(win,))
|
||||
#t2.start()
|
||||
|
||||
# Current frame (for animations and things like this)
|
||||
win.current["frame"] += 1
|
||||
|
|
Loading…
Reference in a new issue