Merge branch 'marek-master'
This commit is contained in:
commit
f047b91e47
@ -191,8 +191,8 @@ class VmNetvmItem (QTableWidgetItem):
|
|||||||
|
|
||||||
if vm.is_netvm() and not vm.is_proxyvm():
|
if vm.is_netvm() and not vm.is_proxyvm():
|
||||||
self.setText("n/a")
|
self.setText("n/a")
|
||||||
elif vm.netvm_vm is not None:
|
elif vm.netvm is not None:
|
||||||
self.setText(vm.netvm_vm.name)
|
self.setText(vm.netvm.name)
|
||||||
else:
|
else:
|
||||||
self.setText("---")
|
self.setText("---")
|
||||||
|
|
||||||
@ -1056,7 +1056,7 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
|
|||||||
if vm.qid == 0:
|
if vm.qid == 0:
|
||||||
subprocess.check_call (["/usr/bin/qvm-dom0-update", "--gui"])
|
subprocess.check_call (["/usr/bin/qvm-dom0-update", "--gui"])
|
||||||
else:
|
else:
|
||||||
qubesutils.run_in_vm(vm, "user:gpk-update-viewer", verbose=False, autostart=True)
|
vm.run("user:gpk-update-viewer", verbose=False, autostart=True)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
thread_monitor.set_error_msg(str(ex))
|
thread_monitor.set_error_msg(str(ex))
|
||||||
thread_monitor.set_finished()
|
thread_monitor.set_finished()
|
||||||
|
@ -151,7 +151,7 @@ class VMSettingsWindow(Ui_SettingsDialog, QDialog):
|
|||||||
|
|
||||||
def current_tab_changed(self, idx):
|
def current_tab_changed(self, idx):
|
||||||
if idx == self.tabs_indices["firewall"]:
|
if idx == self.tabs_indices["firewall"]:
|
||||||
if self.vm.netvm_vm is not None and not self.vm.netvm_vm.is_proxyvm():
|
if self.vm.netvm is not None and not self.vm.netvm.is_proxyvm():
|
||||||
QMessageBox.warning (None, "VM configuration problem!", "The '{0}' AppVM is not network connected to a FirewallVM!<p>".format(self.vm.name) +\
|
QMessageBox.warning (None, "VM configuration problem!", "The '{0}' AppVM is not network connected to a FirewallVM!<p>".format(self.vm.name) +\
|
||||||
"You may edit the '{0}' VM firewall rules, but these will not take any effect until you connect it to a working Firewall VM.".format(self.vm.name))
|
"You may edit the '{0}' VM firewall rules, but these will not take any effect until you connect it to a working Firewall VM.".format(self.vm.name))
|
||||||
|
|
||||||
@ -196,9 +196,9 @@ class VMSettingsWindow(Ui_SettingsDialog, QDialog):
|
|||||||
self.netvm_idx = 0
|
self.netvm_idx = 0
|
||||||
for (i, vm) in enumerate(netvm_list):
|
for (i, vm) in enumerate(netvm_list):
|
||||||
text = vm.name
|
text = vm.name
|
||||||
if vm is self.qvm_collection.get_default_netvm_vm():
|
if vm is self.qvm_collection.get_default_netvm():
|
||||||
text += " (default)"
|
text += " (default)"
|
||||||
if vm.qid == self.vm.netvm_vm.qid:
|
if vm.qid == self.vm.netvm.qid:
|
||||||
self.netvm_idx = i
|
self.netvm_idx = i
|
||||||
text += " (current)"
|
text += " (current)"
|
||||||
self.netVM.insertItem(i, text)
|
self.netVM.insertItem(i, text)
|
||||||
|
@ -4,14 +4,15 @@
|
|||||||
|
|
||||||
Name: qubes-manager
|
Name: qubes-manager
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: 1
|
Release: 3
|
||||||
Summary: The Graphical Qubes VM Manager.
|
Summary: The Graphical Qubes VM Manager.
|
||||||
|
|
||||||
Group: Qubes
|
Group: Qubes
|
||||||
Vendor: Invisible Things Lab
|
Vendor: Invisible Things Lab
|
||||||
License: GPL
|
License: GPL
|
||||||
URL: http://fixme
|
URL: http://fixme
|
||||||
Requires: python, PyQt4, qubes-core-dom0 >= 1.3.1, kdebase
|
Requires: python, PyQt4, qubes-core-dom0 >= 1.7.12, kdebase
|
||||||
|
Requires: pmount
|
||||||
BuildRequires: PyQt4-devel
|
BuildRequires: PyQt4-devel
|
||||||
AutoReq: 0
|
AutoReq: 0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user