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 Gtk
|
||||||
from gi.repository import GLib
|
from gi.repository import GLib
|
||||||
import cairo
|
import cairo
|
||||||
|
import threading
|
||||||
|
|
||||||
# Own modules
|
# Own modules
|
||||||
from settings import settings
|
from settings import settings
|
||||||
|
@ -70,7 +71,7 @@ def run():
|
||||||
win.previous = {}
|
win.previous = {}
|
||||||
win.current = {}
|
win.current = {}
|
||||||
win.images = {}
|
win.images = {}
|
||||||
win.imageload = False
|
win.imageload = 0
|
||||||
win.text = {}
|
win.text = {}
|
||||||
win.textactive = ""
|
win.textactive = ""
|
||||||
win.scroll = {}
|
win.scroll = {}
|
||||||
|
@ -80,6 +81,9 @@ def run():
|
||||||
win.projects = {}
|
win.projects = {}
|
||||||
win.calllayer = False
|
win.calllayer = False
|
||||||
|
|
||||||
|
t2 = threading.Thread(target=update_reader.get_update_info, args=(win,))
|
||||||
|
t2.start()
|
||||||
|
|
||||||
if not settings.read("Username"):
|
if not settings.read("Username"):
|
||||||
settings.write("Username", "VCStudio-User")
|
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
|
# 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.
|
# Popen would not be noticed by the user as much.
|
||||||
if win.current["frame"] > 50:
|
#if win.current["frame"] > 50:
|
||||||
GLib.timeout_add(1 , update_reader.get_update_info, win)
|
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)
|
# Current frame (for animations and things like this)
|
||||||
win.current["frame"] += 1
|
win.current["frame"] += 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue