Red firewall icon

This commit is contained in:
Agnieszka Kostrzewa 2012-02-13 17:47:12 +01:00
parent f14f7c3bba
commit 2687d9f5fd
4 changed files with 3 additions and 2 deletions

BIN
icons/redfirewall.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -399,7 +399,7 @@
<action name="action_editfwrules">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/newfirewall.png</normaloff>:/newfirewall.png</iconset>
<normaloff>:/redfirewall.png</normaloff>:/redfirewall.png</iconset>
</property>
<property name="text">
<string>Edit VM Firewall rules</string>

View File

@ -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')

View File

@ -1,6 +1,7 @@
<RCC>
<qresource>
<file alias="pencil.png">icons/pencil.png</file>
<file alias="redfirewall.png">icons/redfirewall.png</file>
<file alias="edit.png">icons/edit.png</file>
<file alias="add.png">icons/add.png</file>
<file alias="flag-blue.png">icons/flag-blue.png</file>