Skip to content

Commit

Permalink
¿?
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddavo committed Sep 5, 2016
1 parent 26f2580 commit 581292e
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,7 @@ def __init__(self, x, y, objtype, *args, name="Default", maxconnections=4, ip=No
self.image.show()

self.macdir = mac()

print("MAC:", self.macdir, int(self.macdir), bin(self.macdir))
if ip == None:
print("No ip definida")
Expand Down Expand Up @@ -1872,13 +1873,12 @@ def __init__(self, *args):
["Max logs", "DIRS", "Maxlogs", 3, 1000, 1, 5],
]
self.createdspinbuttons = []
lprint("spinbuttons: " + str(len(self.spinbuttons)))

self.spinnergrid = builder.get_object("graph")
self.contadordespinbuttons = 0
for spinner in range(len(self.spinbuttons)):
#spinbutton = builder.get_object(spinner)

def forspin(spinner):
spinbutton = Gtk.SpinButton.new(None, 0, 0)
tmplst = self.spinbuttons[spinner]
tmplst = spinner
label = Gtk.Label.new(tmplst[0])

self.spinnergrid.insert_row(1)
Expand All @@ -1895,11 +1895,9 @@ def __init__(self, *args):

self.createdspinbuttons.append(spinbutton)

lprint(str(self.contadordespinbuttons) + str(tmplst))

self.contadordespinbuttons += 1


for spinner in self.spinbuttons:
forspin(spinner)

#self.cfgventana.show_all()

def show(self, *args):
Expand Down

0 comments on commit 581292e

Please sign in to comment.