git://git.onelab.eu
/
sface.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
specify -t --type option when calling sfi show
[sface.git]
/
sface
/
screens
/
mainscreen.py
diff --git
a/sface/screens/mainscreen.py
b/sface/screens/mainscreen.py
index
d0ef8c1
..
c9911ee
100644
(file)
--- a/
sface/screens/mainscreen.py
+++ b/
sface/screens/mainscreen.py
@@
-726,8
+726,8
@@
class MainScreen(SfaScreen):
def __init__(self, parent):
SfaScreen.__init__(self, parent)
def __init__(self, parent):
SfaScreen.__init__(self, parent)
- s
lice
= SliceWidget(self)
- self.init(s
lice
, "Nodes", "OneLab SFA crawler")
+ s
elf.sliceWidget
= SliceWidget(self)
+ self.init(s
elf.sliceWidget
, "Nodes", "OneLab SFA crawler")
def rspecUpdated(self):
self.mainwin.rspecWindow.updateView()
def rspecUpdated(self):
self.mainwin.rspecWindow.updateView()
@@
-739,3
+739,9
@@
class MainScreen(SfaScreen):
def nodeSelectionChanged(self, hostname):
self.mainwin.nodeSelectionChanged(hostname)
def nodeSelectionChanged(self, hostname):
self.mainwin.nodeSelectionChanged(hostname)
+
+ def remoteSliceChanged(self):
+ # we're being notified the slice was changed remotely. Download a new
+ # rspec.
+ QTimer.singleShot(2500, self.sliceWidget.refresh)
+