Skip to content

Commit

Permalink
Disable "add/remote app shortcuts" action for dom0
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Dec 13, 2015
1 parent 0f2e999 commit 1021d71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qubesmanager/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,8 @@ def table_selection_changed(self):
self.action_killvm.setEnabled((vm.last_running or
vm.last_power_state == "Paused") and
vm.qid != 0)
self.action_appmenus.setEnabled(not vm.internal and
self.action_appmenus.setEnabled(vm.qid != 0 and
not vm.internal and
not vm.is_disposablevm())
self.action_editfwrules.setEnabled(vm.is_networked() and not (
vm.is_netvm() and not vm.is_proxyvm()))
Expand Down

0 comments on commit 1021d71

Please sign in to comment.