diff --git a/qubesmanager/qube_manager.py b/qubesmanager/qube_manager.py
index 8fcbb65..cb46c6c 100644
--- a/qubesmanager/qube_manager.py
+++ b/qubesmanager/qube_manager.py
@@ -527,6 +527,9 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow):
self.tr(
"Loading Qube Manager..."), "", 0, 0)
progress.setWindowTitle(self.tr("Qube Manager"))
+ progress.setWindowFlags(QtCore.Qt.Window |
+ QtCore.Qt.WindowTitleHint |
+ QtCore.Qt.CustomizeWindowHint)
progress.setCancelButton(None)
progress.setModal(True)
progress.show()
@@ -713,6 +716,9 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow):
progress = QtGui.QProgressDialog(
self.tr(
"Removing Qube: {0}...").format(vm.name), "", 0, 0)
+ progress.setWindowFlags(QtCore.Qt.Window |
+ QtCore.Qt.WindowTitleHint |
+ QtCore.Qt.CustomizeWindowHint)
progress.setCancelButton(None)
progress.setModal(True)
progress.show()
@@ -767,6 +773,9 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow):
progress = QtGui.QProgressDialog(
self.tr("Cloning Qube {0} to {1}...").format(
vm.name, clone_name), "", 0, 0)
+ progress.setWindowFlags(QtCore.Qt.Window |
+ QtCore.Qt.WindowTitleHint |
+ QtCore.Qt.CustomizeWindowHint)
progress.setCancelButton(None)
progress.setModal(True)
progress.show()
@@ -1005,6 +1014,9 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow):
self.tr(
"{0}
Please wait for the updater to "
"launch...").format(vm.name), "", 0, 0)
+ progress.setWindowFlags(QtCore.Qt.Window |
+ QtCore.Qt.WindowTitleHint |
+ QtCore.Qt.CustomizeWindowHint)
progress.setCancelButton(None)
progress.setModal(True)
progress.show()
diff --git a/qubesmanager/table_widgets.py b/qubesmanager/table_widgets.py
index ab0ec44..906f53f 100644
--- a/qubesmanager/table_widgets.py
+++ b/qubesmanager/table_widgets.py
@@ -330,18 +330,20 @@ class VmInternalItem(QtGui.QTableWidgetItem):
self.vm = vm
self.qid = vm.qid
+ self.name = vm.name
self.update()
def update(self):
self.internal = self.vm.features.get('internal', False)
self.setText("Yes" if self.internal else "")
-
def __lt__(self, other):
if self.qid == 0:
return True
elif other.qid == 0:
return False
+ elif self.internal == other.internal:
+ return self.name < other.name
return super(VmInternalItem, self).__lt__(other)
@@ -490,6 +492,7 @@ class VmIPItem(QtGui.QTableWidgetItem):
self.vm = vm
self.qid = vm.qid
+ self.name = vm.name
self.update()
def update(self):
@@ -501,6 +504,8 @@ class VmIPItem(QtGui.QTableWidgetItem):
return True
elif other.qid == 0:
return False
+ elif self.ip == other.ip:
+ return self.name < other.name
return super(VmIPItem, self).__lt__(other)
diff --git a/ui/qubemanager.ui b/ui/qubemanager.ui
index 3adb210..dfd30c9 100644
--- a/ui/qubemanager.ui
+++ b/ui/qubemanager.ui
@@ -211,7 +211,7 @@
- Disk size
+ Disk usage