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
set maximum width of status messages to prevent main window from getting really wide
[sface.git]
/
sface
/
mainwindow.py
diff --git
a/sface/mainwindow.py
b/sface/mainwindow.py
index
a78bbfc
..
a8e7d33
100644
(file)
--- a/
sface/mainwindow.py
+++ b/
sface/mainwindow.py
@@
-35,7
+35,7
@@
def load_screens(dirname):
# we want the stock screens to show up in a specific order. plugins can
# show up in any order afterward.
# we want the stock screens to show up in a specific order. plugins can
# show up in any order afterward.
- sort_order = ["mainscreen", "configscreen", "helpscreen"]
+ sort_order = ["mainscreen", "
userscreen", "
configscreen", "helpscreen"]
sort_order.reverse()
for modname in sort_order:
if modname in modnames:
sort_order.reverse()
for modname in sort_order:
if modname in modnames:
@@
-96,6
+96,7
@@
class Nav(QWidget):
class Status(QLabel):
def __init__(self, parent=None):
QLabel.__init__(self, "", parent)
class Status(QLabel):
def __init__(self, parent=None):
QLabel.__init__(self, "", parent)
+ self.setMaximumWidth(640)
self.sliceUpdateDate()
def set(self, msg, timeout):
self.sliceUpdateDate()
def set(self, msg, timeout):