diff --git a/icons/redfirewall.png b/icons/redfirewall.png new file mode 100644 index 0000000..337dec8 Binary files /dev/null and b/icons/redfirewall.png differ diff --git a/mainwindow.ui b/mainwindow.ui index 66a1b36..1cc5b8d 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -399,7 +399,7 @@ - :/newfirewall.png:/newfirewall.png + :/redfirewall.png:/redfirewall.png Edit VM Firewall rules diff --git a/qubesmanager/main.py b/qubesmanager/main.py index d44dc6f..6b06996 100755 --- a/qubesmanager/main.py +++ b/qubesmanager/main.py @@ -1196,7 +1196,7 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow): @pyqtSlot(name='on_action_editfwrules_triggered') def action_editfwrules_triggered(self): vm = self.get_selected_vm() - settings_window = VMSettingsWindow(vm, app, "firewall") + settings_window = VMSettingsWindow(vm, app, self.qvm_collection, "firewall") settings_window.exec_() @pyqtSlot(name='on_action_global_settings_triggered') diff --git a/resources.qrc b/resources.qrc index 483f372..6d47a74 100644 --- a/resources.qrc +++ b/resources.qrc @@ -1,6 +1,7 @@ icons/pencil.png + icons/redfirewall.png icons/edit.png icons/add.png icons/flag-blue.png