Clean up gtk STOCK and various image usage

- Remove most use of deprecated stock icons. Without it the UI will
  be a lot more ugly in Fedora 36
- Remove deprecated ImageMenuItem usage, convert to regular MenuItem
- Remove most embedded button images

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2022-02-19 12:01:55 -05:00
parent cfc438c024
commit 382391eadb
38 changed files with 214 additions and 447 deletions

View File

@ -17,11 +17,6 @@
<property name="step-increment">1</property> <property name="step-increment">1</property>
<property name="page-increment">10</property> <property name="page-increment">10</property>
</object> </object>
<object class="GtkImage" id="image1">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="stock">gtk-apply</property>
</object>
<object class="GtkWindow" id="vmm-add-hardware"> <object class="GtkWindow" id="vmm-add-hardware">
<property name="width-request">500</property> <property name="width-request">500</property>
<property name="height-request">400</property> <property name="height-request">400</property>
@ -290,7 +285,7 @@
<object class="GtkImage" id="controller-tooltip"> <object class="GtkImage" id="controller-tooltip">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-info</property> <property name="icon-name">dialog-information</property>
</object> </object>
<packing> <packing>
<property name="left-attach">2</property> <property name="left-attach">2</property>
@ -1439,11 +1434,11 @@
<property name="layout-style">end</property> <property name="layout-style">end</property>
<child> <child>
<object class="GtkButton" id="create-cancel"> <object class="GtkButton" id="create-cancel">
<property name="label">gtk-cancel</property> <property name="label" translatable="yes">_Cancel</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_create_cancel_clicked" swapped="no"/> <signal name="clicked" handler="on_create_cancel_clicked" swapped="no"/>
</object> </object>
<packing> <packing>
@ -1458,7 +1453,6 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="image">image1</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_create_finish_clicked" swapped="no"/> <signal name="clicked" handler="on_create_finish_clicked" swapped="no"/>
</object> </object>

View File

@ -33,7 +33,7 @@
<property name="margin-end">3</property> <property name="margin-end">3</property>
<property name="margin-top">10</property> <property name="margin-top">10</property>
<property name="margin-bottom">10</property> <property name="margin-bottom">10</property>
<property name="stock">gtk-dialog-info</property> <property name="icon-name">dialog-information</property>
<property name="icon_size">6</property> <property name="icon_size">6</property>
</object> </object>
<packing> <packing>
@ -75,7 +75,7 @@
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="margin-start">3</property> <property name="margin-start">3</property>
<property name="margin-end">3</property> <property name="margin-end">3</property>
<property name="stock">gtk-dialog-warning</property> <property name="icon-name">dialog-warning</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -143,11 +143,11 @@
<property name="spacing">12</property> <property name="spacing">12</property>
<child> <child>
<object class="GtkButton" id="cancel-async-job"> <object class="GtkButton" id="cancel-async-job">
<property name="label">gtk-cancel</property> <property name="label" translatable="yes">_Cancel</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_async_job_cancel_clicked" swapped="no"/> <signal name="clicked" handler="on_async_job_cancel_clicked" swapped="no"/>
</object> </object>
<packing> <packing>

View File

@ -2,11 +2,6 @@
<!-- Generated with glade 3.38.2 --> <!-- Generated with glade 3.38.2 -->
<interface> <interface>
<requires lib="gtk+" version="3.22"/> <requires lib="gtk+" version="3.22"/>
<object class="GtkImage" id="image1">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="stock">gtk-new</property>
</object>
<object class="GtkWindow" id="vmm-clone"> <object class="GtkWindow" id="vmm-clone">
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="title" translatable="yes">Clone Virtual Machine</property> <property name="title" translatable="yes">Clone Virtual Machine</property>
@ -342,7 +337,7 @@
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property> <property name="halign">start</property>
<property name="valign">start</property> <property name="valign">start</property>
<property name="stock">gtk-dialog-warning</property> <property name="icon-name">dialog-warning</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -393,11 +388,11 @@ like change passwords or static IPs, please see the virt-sysprep(1) tool.&lt;/sp
<property name="layout-style">end</property> <property name="layout-style">end</property>
<child> <child>
<object class="GtkButton" id="clone-cancel"> <object class="GtkButton" id="clone-cancel">
<property name="label">gtk-cancel</property> <property name="label" translatable="yes">_Cancel</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_clone_cancel_clicked" swapped="no"/> <signal name="clicked" handler="on_clone_cancel_clicked" swapped="no"/>
</object> </object>
<packing> <packing>
@ -413,7 +408,6 @@ like change passwords or static IPs, please see the virt-sysprep(1) tool.&lt;/sp
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="image">image1</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_clone_ok_clicked" swapped="no"/> <signal name="clicked" handler="on_clone_ok_clicked" swapped="no"/>
</object> </object>
@ -462,11 +456,11 @@ like change passwords or static IPs, please see the virt-sysprep(1) tool.&lt;/sp
<property name="layout-style">end</property> <property name="layout-style">end</property>
<child> <child>
<object class="GtkButton" id="change-storage-cancel"> <object class="GtkButton" id="change-storage-cancel">
<property name="label">gtk-cancel</property> <property name="label" translatable="yes">_Cancel</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_change_storage_cancel_clicked" swapped="no"/> <signal name="clicked" handler="on_change_storage_cancel_clicked" swapped="no"/>
</object> </object>
<packing> <packing>
@ -477,11 +471,11 @@ like change passwords or static IPs, please see the virt-sysprep(1) tool.&lt;/sp
</child> </child>
<child> <child>
<object class="GtkButton" id="change-storage-ok"> <object class="GtkButton" id="change-storage-ok">
<property name="label">gtk-ok</property> <property name="label" translatable="yes">_OK</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_change_storage_ok_clicked" swapped="no"/> <signal name="clicked" handler="on_change_storage_ok_clicked" swapped="no"/>
</object> </object>
<packing> <packing>
@ -522,7 +516,7 @@ like change passwords or static IPs, please see the virt-sysprep(1) tool.&lt;/sp
<object class="GtkImage" id="image2"> <object class="GtkImage" id="image2">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-harddisk</property> <property name="icon-name">drive-harddisk</property>
<property name="icon_size">6</property> <property name="icon_size">6</property>
</object> </object>
</child> </child>

View File

@ -19,11 +19,11 @@
<property name="layout-style">end</property> <property name="layout-style">end</property>
<child> <child>
<object class="GtkButton" id="connectauth-cancel"> <object class="GtkButton" id="connectauth-cancel">
<property name="label">gtk-cancel</property> <property name="label" translatable="yes">_Cancel</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_connectauth_cancel_clicked" swapped="no"/> <signal name="clicked" handler="on_connectauth_cancel_clicked" swapped="no"/>
</object> </object>
<packing> <packing>
@ -34,11 +34,11 @@
</child> </child>
<child> <child>
<object class="GtkButton" id="connectauth-ok"> <object class="GtkButton" id="connectauth-ok">
<property name="label">gtk-ok</property> <property name="label" translatable="yes">_OK</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_connectauth_ok_clicked" swapped="no"/> <signal name="clicked" handler="on_connectauth_ok_clicked" swapped="no"/>
</object> </object>
<packing> <packing>

View File

@ -2,11 +2,6 @@
<!-- Generated with glade 3.38.2 --> <!-- Generated with glade 3.38.2 -->
<interface> <interface>
<requires lib="gtk+" version="3.22"/> <requires lib="gtk+" version="3.22"/>
<object class="GtkImage" id="image70">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="stock">gtk-apply</property>
</object>
<object class="GtkNotebook" id="console-pages"> <object class="GtkNotebook" id="console-pages">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
@ -179,7 +174,6 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">False</property> <property name="receives-default">False</property>
<property name="image">image70</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_console_auth_login_clicked" swapped="no"/> <signal name="clicked" handler="on_console_auth_login_clicked" swapped="no"/>
</object> </object>

View File

@ -2,11 +2,6 @@
<!-- Generated with glade 3.38.2 --> <!-- Generated with glade 3.38.2 -->
<interface> <interface>
<requires lib="gtk+" version="3.22"/> <requires lib="gtk+" version="3.22"/>
<object class="GtkImage" id="image1">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="stock">gtk-connect</property>
</object>
<object class="GtkDialog" id="vmm-open-connection"> <object class="GtkDialog" id="vmm-open-connection">
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="border-width">6</property> <property name="border-width">6</property>
@ -27,12 +22,12 @@
<property name="layout-style">end</property> <property name="layout-style">end</property>
<child> <child>
<object class="GtkButton" id="cancel"> <object class="GtkButton" id="cancel">
<property name="label">gtk-cancel</property> <property name="label" translatable="yes">_Cancel</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="can-default">True</property> <property name="can-default">True</property>
<property name="receives-default">False</property> <property name="receives-default">False</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_cancel_clicked" swapped="no"/> <signal name="clicked" handler="on_cancel_clicked" swapped="no"/>
</object> </object>
<packing> <packing>
@ -49,7 +44,6 @@
<property name="can-default">True</property> <property name="can-default">True</property>
<property name="has-default">True</property> <property name="has-default">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="image">image1</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_connect_clicked" swapped="no"/> <signal name="clicked" handler="on_connect_clicked" swapped="no"/>
</object> </object>
@ -224,7 +218,7 @@
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property> <property name="halign">start</property>
<property name="valign">start</property> <property name="valign">start</property>
<property name="stock">gtk-dialog-warning</property> <property name="icon-name">dialog-warning</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>

View File

@ -2,11 +2,6 @@
<!-- Generated with glade 3.38.2 --> <!-- Generated with glade 3.38.2 -->
<interface> <interface>
<requires lib="gtk+" version="3.22"/> <requires lib="gtk+" version="3.22"/>
<object class="GtkImage" id="image2">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="stock">gtk-new</property>
</object>
<object class="GtkWindow" id="vmm-create-net"> <object class="GtkWindow" id="vmm-create-net">
<property name="width-request">400</property> <property name="width-request">400</property>
<property name="height-request">400</property> <property name="height-request">400</property>
@ -815,11 +810,11 @@
<property name="layout-style">end</property> <property name="layout-style">end</property>
<child> <child>
<object class="GtkButton" id="create-cancel"> <object class="GtkButton" id="create-cancel">
<property name="label">gtk-cancel</property> <property name="label" translatable="yes">_Cancel</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_create_cancel_clicked" swapped="no"/> <signal name="clicked" handler="on_create_cancel_clicked" swapped="no"/>
</object> </object>
<packing> <packing>
@ -834,7 +829,6 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="image">image2</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_create_finish_clicked" swapped="no"/> <signal name="clicked" handler="on_create_finish_clicked" swapped="no"/>
</object> </object>

View File

@ -29,7 +29,7 @@
<object class="GtkImage" id="image2"> <object class="GtkImage" id="image2">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-new</property> <property name="icon-name">document-new</property>
<property name="icon_size">6</property> <property name="icon_size">6</property>
</object> </object>
<packing> <packing>
@ -470,11 +470,11 @@
<property name="layout-style">end</property> <property name="layout-style">end</property>
<child> <child>
<object class="GtkButton" id="pool-cancel"> <object class="GtkButton" id="pool-cancel">
<property name="label">gtk-cancel</property> <property name="label" translatable="yes">_Cancel</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_pool_cancel_clicked" swapped="no"/> <signal name="clicked" handler="on_pool_cancel_clicked" swapped="no"/>
</object> </object>
<packing> <packing>

View File

@ -12,11 +12,6 @@
<property name="step-increment">1</property> <property name="step-increment">1</property>
<property name="page-increment">10</property> <property name="page-increment">10</property>
</object> </object>
<object class="GtkImage" id="image20">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="stock">gtk-new</property>
</object>
<object class="GtkWindow" id="vmm-create"> <object class="GtkWindow" id="vmm-create">
<property name="width-request">500</property> <property name="width-request">500</property>
<property name="height-request">500</property> <property name="height-request">500</property>
@ -540,7 +535,7 @@
<property name="halign">start</property> <property name="halign">start</property>
<property name="valign">start</property> <property name="valign">start</property>
<property name="hexpand">False</property> <property name="hexpand">False</property>
<property name="stock">gtk-dialog-warning</property> <property name="icon-name">dialog-warning</property>
</object> </object>
<packing> <packing>
<property name="left-attach">0</property> <property name="left-attach">0</property>
@ -599,7 +594,7 @@ bar</property>
<property name="halign">start</property> <property name="halign">start</property>
<property name="valign">start</property> <property name="valign">start</property>
<property name="hexpand">False</property> <property name="hexpand">False</property>
<property name="stock">gtk-dialog-warning</property> <property name="icon-name">dialog-warning</property>
</object> </object>
<packing> <packing>
<property name="left-attach">0</property> <property name="left-attach">0</property>
@ -1180,7 +1175,7 @@ User shouldn't see this.</property>
<object class="GtkImage"> <object class="GtkImage">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-info</property> <property name="icon-name">dialog-information</property>
<property name="icon_size">3</property> <property name="icon_size">3</property>
</object> </object>
<packing> <packing>
@ -1388,7 +1383,7 @@ User shouldn't see this.</property>
<object class="GtkImage" id="image3"> <object class="GtkImage" id="image3">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-dialog-warning</property> <property name="icon-name">dialog-warning</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -1427,7 +1422,7 @@ please install &lt;a href="https://github.com/virt-manager/virt-bootstrap"&gt;vi
<object class="GtkImage" id="image8"> <object class="GtkImage" id="image8">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-dialog-warning</property> <property name="icon-name">dialog-warning</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -2514,11 +2509,11 @@ connections is not yet supported.&lt;/small&gt;</property>
<property name="layout-style">end</property> <property name="layout-style">end</property>
<child> <child>
<object class="GtkButton" id="create-cancel"> <object class="GtkButton" id="create-cancel">
<property name="label">gtk-cancel</property> <property name="label" translatable="yes">_Cancel</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_create_cancel_clicked" swapped="no"/> <signal name="clicked" handler="on_create_cancel_clicked" swapped="no"/>
</object> </object>
<packing> <packing>
@ -2529,12 +2524,12 @@ connections is not yet supported.&lt;/small&gt;</property>
</child> </child>
<child> <child>
<object class="GtkButton" id="create-back"> <object class="GtkButton" id="create-back">
<property name="label">gtk-go-back</property> <property name="label" translatable="yes">_Back</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="sensitive">False</property> <property name="sensitive">False</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_create_back_clicked" swapped="no"/> <signal name="clicked" handler="on_create_back_clicked" swapped="no"/>
</object> </object>
<packing> <packing>
@ -2545,11 +2540,11 @@ connections is not yet supported.&lt;/small&gt;</property>
</child> </child>
<child> <child>
<object class="GtkButton" id="create-forward"> <object class="GtkButton" id="create-forward">
<property name="label">gtk-go-forward</property> <property name="label" translatable="yes">_Forward</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_create_forward_clicked" swapped="no"/> <signal name="clicked" handler="on_create_forward_clicked" swapped="no"/>
</object> </object>
<packing> <packing>
@ -2563,7 +2558,6 @@ connections is not yet supported.&lt;/small&gt;</property>
<property name="label" translatable="yes">_Finish</property> <property name="label" translatable="yes">_Finish</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="image">image20</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_create_finish_clicked" swapped="no"/> <signal name="clicked" handler="on_create_finish_clicked" swapped="no"/>
</object> </object>

View File

@ -17,12 +17,7 @@
<object class="GtkImage" id="image1"> <object class="GtkImage" id="image1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-new</property> <property name="icon-name">document-new</property>
</object>
<object class="GtkImage" id="image2">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="stock">gtk-open</property>
</object> </object>
<object class="GtkWindow" id="vmm-create-vol"> <object class="GtkWindow" id="vmm-create-vol">
<property name="can-focus">False</property> <property name="can-focus">False</property>
@ -50,7 +45,7 @@
<object class="GtkImage" id="image4"> <object class="GtkImage" id="image4">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-new</property> <property name="icon-name">document-new</property>
<property name="icon_size">6</property> <property name="icon_size">6</property>
</object> </object>
<packing> <packing>
@ -420,7 +415,6 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="image">image2</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_backing_browse_clicked" swapped="no"/> <signal name="clicked" handler="on_backing_browse_clicked" swapped="no"/>
</object> </object>
@ -470,11 +464,11 @@
<property name="layout-style">end</property> <property name="layout-style">end</property>
<child> <child>
<object class="GtkButton" id="vol-cancel"> <object class="GtkButton" id="vol-cancel">
<property name="label">gtk-cancel</property> <property name="label" translatable="yes">_Cancel</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_vol_cancel_clicked" swapped="no"/> <signal name="clicked" handler="on_vol_cancel_clicked" swapped="no"/>
</object> </object>
<packing> <packing>

View File

@ -92,7 +92,7 @@
<object class="GtkImage" id="delete-warn-running-vm-icon"> <object class="GtkImage" id="delete-warn-running-vm-icon">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-dialog-warning</property> <property name="icon-name">dialog-warning</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -178,11 +178,11 @@
<property name="layout-style">end</property> <property name="layout-style">end</property>
<child> <child>
<object class="GtkButton" id="delete-cancel"> <object class="GtkButton" id="delete-cancel">
<property name="label">gtk-cancel</property> <property name="label" translatable="yes">_Cancel</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_delete_cancel_clicked" swapped="no"/> <signal name="clicked" handler="on_delete_cancel_clicked" swapped="no"/>
</object> </object>
<packing> <packing>
@ -193,11 +193,11 @@
</child> </child>
<child> <child>
<object class="GtkButton" id="delete-ok"> <object class="GtkButton" id="delete-ok">
<property name="label">gtk-delete</property> <property name="label" translatable="yes">_Delete</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_delete_ok_clicked" swapped="no"/> <signal name="clicked" handler="on_delete_ok_clicked" swapped="no"/>
</object> </object>
<packing> <packing>

View File

@ -68,11 +68,6 @@
<property name="step-increment">1</property> <property name="step-increment">1</property>
<property name="page-increment">2</property> <property name="page-increment">2</property>
</object> </object>
<object class="GtkImage" id="image80">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="stock">gtk-add</property>
</object>
<object class="GtkBox" id="details-top-box"> <object class="GtkBox" id="details-top-box">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
@ -128,7 +123,6 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">False</property> <property name="receives-default">False</property>
<property name="image">image80</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_add_hardware_button_clicked" swapped="no"/> <signal name="clicked" handler="on_add_hardware_button_clicked" swapped="no"/>
<child internal-child="accessible"> <child internal-child="accessible">
@ -304,7 +298,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property> <property name="halign">start</property>
<property name="stock">gtk-missing-image</property> <property name="icon-name">image-missing</property>
</object> </object>
<packing> <packing>
<property name="left-attach">0</property> <property name="left-attach">0</property>
@ -555,7 +549,7 @@
<object class="GtkImage" id="overview-firmware-warn"> <object class="GtkImage" id="overview-firmware-warn">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-dialog-warning</property> <property name="icon-name">dialog-warning</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -836,7 +830,7 @@
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property> <property name="halign">start</property>
<property name="valign">start</property> <property name="valign">start</property>
<property name="stock">gtk-dialog-warning</property> <property name="icon-name">dialog-warning</property>
</object> </object>
<packing> <packing>
<property name="left-attach">0</property> <property name="left-attach">0</property>
@ -1319,7 +1313,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property> <property name="halign">start</property>
<property name="stock">gtk-dialog-warning</property> <property name="icon-name">dialog-warning</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -2446,7 +2440,7 @@
<object class="GtkImage" id="image7"> <object class="GtkImage" id="image7">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-go-up</property> <property name="icon-name">go-up</property>
</object> </object>
</child> </child>
<child internal-child="accessible"> <child internal-child="accessible">
@ -2474,7 +2468,7 @@
<object class="GtkImage" id="image8"> <object class="GtkImage" id="image8">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-go-down</property> <property name="icon-name">go-down</property>
</object> </object>
</child> </child>
<child internal-child="accessible"> <child internal-child="accessible">
@ -3052,7 +3046,7 @@
<object class="GtkImage"> <object class="GtkImage">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-refresh</property> <property name="icon-name">view-refresh</property>
</object> </object>
</child> </child>
</object> </object>
@ -4705,12 +4699,12 @@
<property name="layout-style">end</property> <property name="layout-style">end</property>
<child> <child>
<object class="GtkButton" id="config-remove"> <object class="GtkButton" id="config-remove">
<property name="label">gtk-remove</property> <property name="label" translatable="yes">_Remove</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="can-default">True</property> <property name="can-default">True</property>
<property name="receives-default">False</property> <property name="receives-default">False</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_config_remove_clicked" swapped="no"/> <signal name="clicked" handler="on_config_remove_clicked" swapped="no"/>
<child internal-child="accessible"> <child internal-child="accessible">
<object class="AtkObject" id="config-remove-atkobject"> <object class="AtkObject" id="config-remove-atkobject">
@ -4726,11 +4720,11 @@
</child> </child>
<child> <child>
<object class="GtkButton" id="config-cancel"> <object class="GtkButton" id="config-cancel">
<property name="label">gtk-cancel</property> <property name="label" translatable="yes">_Cancel</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_config_cancel_clicked" swapped="no"/> <signal name="clicked" handler="on_config_cancel_clicked" swapped="no"/>
<child internal-child="accessible"> <child internal-child="accessible">
<object class="AtkObject" id="config-cancel-atkobject"> <object class="AtkObject" id="config-cancel-atkobject">
@ -4746,13 +4740,13 @@
</child> </child>
<child> <child>
<object class="GtkButton" id="config-apply"> <object class="GtkButton" id="config-apply">
<property name="label">gtk-apply</property> <property name="label" translatable="yes">_Apply</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="sensitive">False</property> <property name="sensitive">False</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="can-default">True</property> <property name="can-default">True</property>
<property name="receives-default">False</property> <property name="receives-default">False</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_config_apply_clicked" swapped="no"/> <signal name="clicked" handler="on_config_apply_clicked" swapped="no"/>
<child internal-child="accessible"> <child internal-child="accessible">
<object class="AtkObject" id="config-apply-atkobject"> <object class="AtkObject" id="config-apply-atkobject">

View File

@ -278,7 +278,7 @@
<object class="GtkImage"> <object class="GtkImage">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-dialog-warning</property> <property name="icon-name">dialog-warning</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>

View File

@ -312,7 +312,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="valign">start</property> <property name="valign">start</property>
<property name="stock">gtk-dialog-warning</property> <property name="icon-name">dialog-warning</property>
</object> </object>
<packing> <packing>
<property name="left-attach">0</property> <property name="left-attach">0</property>
@ -324,7 +324,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="valign">start</property> <property name="valign">start</property>
<property name="stock">gtk-dialog-warning</property> <property name="icon-name">dialog-warning</property>
</object> </object>
<packing> <packing>
<property name="left-attach">0</property> <property name="left-attach">0</property>

View File

@ -2,7 +2,6 @@
<!-- Generated with glade 3.38.2 --> <!-- Generated with glade 3.38.2 -->
<interface> <interface>
<requires lib="gtk+" version="3.22"/> <requires lib="gtk+" version="3.22"/>
<object class="GtkAccelGroup" id="accelgroup1"/>
<object class="GtkWindow" id="vmm-host"> <object class="GtkWindow" id="vmm-host">
<property name="width-request">800</property> <property name="width-request">800</property>
<property name="height-request">600</property> <property name="height-request">600</property>
@ -10,9 +9,6 @@
<property name="title">Connection Details</property> <property name="title">Connection Details</property>
<property name="default-width">750</property> <property name="default-width">750</property>
<property name="default-height">500</property> <property name="default-height">500</property>
<accel-groups>
<group name="accelgroup1"/>
</accel-groups>
<signal name="configure-event" handler="on_vmm_host_configure_event" swapped="no"/> <signal name="configure-event" handler="on_vmm_host_configure_event" swapped="no"/>
<signal name="delete-event" handler="on_vmm_host_delete_event" swapped="no"/> <signal name="delete-event" handler="on_vmm_host_delete_event" swapped="no"/>
<child> <child>
@ -49,25 +45,23 @@
</object> </object>
</child> </child>
<child> <child>
<object class="GtkImageMenuItem" id="menu-file-close"> <object class="GtkMenuItem" id="menu-file-close">
<property name="label">gtk-close</property> <property name="label">_Close</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<property name="use-stock">True</property>
<property name="accel-group">accelgroup1</property>
<signal name="activate" handler="on_menu_file_close_activate" swapped="no"/> <signal name="activate" handler="on_menu_file_close_activate" swapped="no"/>
<accelerator key="w" signal="activate" modifiers="GDK_CONTROL_MASK"/>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkImageMenuItem" id="menu-file-quit"> <object class="GtkMenuItem" id="menu-file-quit">
<property name="label">gtk-quit</property> <property name="label">_Quit</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<property name="use-stock">True</property>
<property name="accel-group">accelgroup1</property>
<signal name="activate" handler="on_menu_file_quit_activate" swapped="no"/> <signal name="activate" handler="on_menu_file_quit_activate" swapped="no"/>
<accelerator key="q" signal="activate" modifiers="GDK_CONTROL_MASK"/>
</object> </object>
</child> </child>
</object> </object>

View File

@ -62,7 +62,7 @@
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="spacing">12</property> <property name="spacing">12</property>
<child> <child>
<!-- n-columns=3 n-rows=5 --> <!-- n-columns=2 n-rows=5 -->
<object class="GtkGrid" id="table4"> <object class="GtkGrid" id="table4">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
@ -77,7 +77,7 @@
<object class="GtkImage" id="net-state-icon"> <object class="GtkImage" id="net-state-icon">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-missing-image</property> <property name="icon-name">image-missing</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -234,21 +234,6 @@
<property name="top-attach">0</property> <property name="top-attach">0</property>
</packing> </packing>
</child> </child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -262,7 +247,7 @@
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="expanded">True</property> <property name="expanded">True</property>
<child> <child>
<!-- n-columns=3 n-rows=3 --> <!-- n-columns=2 n-rows=3 -->
<object class="GtkGrid" id="table3"> <object class="GtkGrid" id="table3">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
@ -294,42 +279,6 @@
<property name="top-attach">1</property> <property name="top-attach">1</property>
</packing> </packing>
</child> </child>
<child>
<object class="GtkBox" id="hbox13">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="spacing">3</property>
<child>
<object class="GtkImage" id="net-ipv4-forwarding-icon">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="stock">gtk-missing-image</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="net-ipv4-forwarding">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">NAT to any device</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">2</property>
</packing>
</child>
<child> <child>
<object class="GtkLabel" id="label52"> <object class="GtkLabel" id="label52">
<property name="visible">True</property> <property name="visible">True</property>
@ -367,13 +316,28 @@
</packing> </packing>
</child> </child>
<child> <child>
<placeholder/> <object class="GtkBox" id="hbox13">
</child> <property name="visible">True</property>
<child> <property name="can-focus">False</property>
<placeholder/> <property name="spacing">3</property>
</child> <child>
<child> <object class="GtkLabel" id="net-ipv4-forwarding">
<placeholder/> <property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">NAT to any device</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">2</property>
</packing>
</child> </child>
</object> </object>
</child> </child>
@ -431,42 +395,6 @@
<property name="top-attach">1</property> <property name="top-attach">1</property>
</packing> </packing>
</child> </child>
<child>
<object class="GtkBox" id="hbox6">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="spacing">3</property>
<child>
<object class="GtkImage" id="net-ipv6-forwarding-icon">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="stock">gtk-missing-image</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="net-ipv6-forwarding">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Routed</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">2</property>
</packing>
</child>
<child> <child>
<object class="GtkLabel" id="label39"> <object class="GtkLabel" id="label39">
<property name="visible">True</property> <property name="visible">True</property>
@ -503,6 +431,18 @@
<property name="top-attach">2</property> <property name="top-attach">2</property>
</packing> </packing>
</child> </child>
<child>
<object class="GtkLabel" id="net-ipv6-forwarding">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Routed</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">2</property>
</packing>
</child>
</object> </object>
</child> </child>
<child type="label"> <child type="label">
@ -595,7 +535,7 @@
<object class="GtkImage" id="image10"> <object class="GtkImage" id="image10">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-add</property> <property name="icon-name">list-add</property>
</object> </object>
</child> </child>
<child internal-child="accessible"> <child internal-child="accessible">
@ -622,7 +562,7 @@
<object class="GtkImage" id="image11"> <object class="GtkImage" id="image11">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-media-play</property> <property name="icon-name">media-playback-start</property>
</object> </object>
</child> </child>
<child internal-child="accessible"> <child internal-child="accessible">
@ -649,7 +589,7 @@
<object class="GtkImage" id="image12"> <object class="GtkImage" id="image12">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-stop</property> <property name="icon-name">process-stop</property>
</object> </object>
</child> </child>
<child internal-child="accessible"> <child internal-child="accessible">
@ -676,7 +616,7 @@
<object class="GtkImage" id="image13"> <object class="GtkImage" id="image13">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-delete</property> <property name="icon-name">edit-delete</property>
</object> </object>
</child> </child>
<child internal-child="accessible"> <child internal-child="accessible">
@ -704,11 +644,11 @@
<property name="can-focus">False</property> <property name="can-focus">False</property>
<child> <child>
<object class="GtkButton" id="net-apply"> <object class="GtkButton" id="net-apply">
<property name="label">gtk-apply</property> <property name="label" translatable="yes">_Apply</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">False</property> <property name="receives-default">False</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_net_apply_clicked" swapped="no"/> <signal name="clicked" handler="on_net_apply_clicked" swapped="no"/>
</object> </object>
<packing> <packing>

View File

@ -2,11 +2,6 @@
<!-- Generated with glade 3.38.2 --> <!-- Generated with glade 3.38.2 -->
<interface> <interface>
<requires lib="gtk+" version="3.22"/> <requires lib="gtk+" version="3.22"/>
<object class="GtkImage" id="image3">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="stock">gtk-apply</property>
</object>
<!-- n-columns=1 n-rows=2 --> <!-- n-columns=1 n-rows=2 -->
<object class="GtkGrid" id="storage-grid"> <object class="GtkGrid" id="storage-grid">
<property name="visible">True</property> <property name="visible">True</property>
@ -33,7 +28,7 @@
<object class="GtkImage" id="image4"> <object class="GtkImage" id="image4">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-add</property> <property name="icon-name">list-add</property>
</object> </object>
</child> </child>
<child internal-child="accessible"> <child internal-child="accessible">
@ -59,7 +54,7 @@
<object class="GtkImage" id="someicon"> <object class="GtkImage" id="someicon">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-media-play</property> <property name="icon-name">media-playback-start</property>
</object> </object>
</child> </child>
<child internal-child="accessible"> <child internal-child="accessible">
@ -85,7 +80,7 @@
<object class="GtkImage" id="image6"> <object class="GtkImage" id="image6">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-stop</property> <property name="icon-name">process-stop</property>
</object> </object>
</child> </child>
<child internal-child="accessible"> <child internal-child="accessible">
@ -111,7 +106,7 @@
<object class="GtkImage" id="image7"> <object class="GtkImage" id="image7">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-delete</property> <property name="icon-name">edit-delete</property>
</object> </object>
</child> </child>
<child internal-child="accessible"> <child internal-child="accessible">
@ -170,12 +165,12 @@
</child> </child>
<child> <child>
<object class="GtkButton" id="browse-cancel"> <object class="GtkButton" id="browse-cancel">
<property name="label">gtk-cancel</property> <property name="label" translatable="yes">_Cancel</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Cancel and close dialog</property> <property name="tooltip-text" translatable="yes">Cancel and close dialog</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_browse_cancel_clicked" swapped="no"/> <signal name="clicked" handler="on_browse_cancel_clicked" swapped="no"/>
</object> </object>
<packing> <packing>
@ -186,12 +181,12 @@
</child> </child>
<child> <child>
<object class="GtkButton" id="choose-volume"> <object class="GtkButton" id="choose-volume">
<property name="label" translatable="yes">Choose Volume</property> <property name="label" translatable="yes">Ch_oose Volume</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="use-underline">True</property>
<property name="tooltip-text" translatable="yes">Choose the selected volume</property> <property name="tooltip-text" translatable="yes">Choose the selected volume</property>
<property name="image">image3</property>
<signal name="clicked" handler="on_choose_volume_clicked" swapped="no"/> <signal name="clicked" handler="on_choose_volume_clicked" swapped="no"/>
</object> </object>
<packing> <packing>
@ -202,12 +197,12 @@
</child> </child>
<child> <child>
<object class="GtkButton" id="pool-apply"> <object class="GtkButton" id="pool-apply">
<property name="label">gtk-apply</property> <property name="label" translatable="yes">_Apply</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">False</property> <property name="receives-default">False</property>
<property name="use-underline">True</property>
<property name="tooltip-text" translatable="yes">Apply pool changes</property> <property name="tooltip-text" translatable="yes">Apply pool changes</property>
<property name="use-stock">True</property>
<signal name="clicked" handler="on_pool_apply_clicked" swapped="no"/> <signal name="clicked" handler="on_pool_apply_clicked" swapped="no"/>
</object> </object>
<packing> <packing>
@ -297,7 +292,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property> <property name="halign">start</property>
<property name="stock">gtk-missing-image</property> <property name="icon-name">image-missing</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -514,7 +509,7 @@
<object class="GtkImage" id="image1"> <object class="GtkImage" id="image1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-add</property> <property name="icon-name">list-add</property>
</object> </object>
</child> </child>
<child internal-child="accessible"> <child internal-child="accessible">
@ -541,7 +536,7 @@
<object class="GtkImage" id="image8"> <object class="GtkImage" id="image8">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-refresh</property> <property name="icon-name">view-refresh</property>
</object> </object>
</child> </child>
<child internal-child="accessible"> <child internal-child="accessible">
@ -568,7 +563,7 @@
<object class="GtkImage" id="image2"> <object class="GtkImage" id="image2">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-delete</property> <property name="icon-name">edit-delete</property>
</object> </object>
</child> </child>
<child internal-child="accessible"> <child internal-child="accessible">

View File

@ -2,31 +2,12 @@
<!-- Generated with glade 3.38.2 --> <!-- Generated with glade 3.38.2 -->
<interface> <interface>
<requires lib="gtk+" version="3.22"/> <requires lib="gtk+" version="3.22"/>
<object class="GtkAccelGroup" id="accelgroup1"/>
<object class="GtkImage" id="image2">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="stock">gtk-add</property>
</object>
<object class="GtkImage" id="image4">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="stock">gtk-properties</property>
</object>
<object class="GtkImage" id="image5">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="stock">gtk-properties</property>
</object>
<object class="GtkWindow" id="vmm-manager"> <object class="GtkWindow" id="vmm-manager">
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="title" translatable="yes">Virtual Machine Manager</property> <property name="title" translatable="yes">Virtual Machine Manager</property>
<property name="default-width">550</property> <property name="default-width">550</property>
<property name="default-height">550</property> <property name="default-height">550</property>
<property name="gravity">center</property> <property name="gravity">center</property>
<accel-groups>
<group name="accelgroup1"/>
</accel-groups>
<signal name="configure-event" handler="on_vmm_manager_configure_event" swapped="no"/> <signal name="configure-event" handler="on_vmm_manager_configure_event" swapped="no"/>
<signal name="delete-event" handler="on_vm_manager_delete_event" swapped="no"/> <signal name="delete-event" handler="on_vm_manager_delete_event" swapped="no"/>
<child> <child>
@ -48,13 +29,11 @@
<object class="GtkMenu" id="menuitem4_menu"> <object class="GtkMenu" id="menuitem4_menu">
<property name="can-focus">False</property> <property name="can-focus">False</property>
<child> <child>
<object class="GtkImageMenuItem" id="open_connection"> <object class="GtkMenuItem" id="open_connection">
<property name="label" translatable="yes">_Add Connection...</property> <property name="label" translatable="yes">_Add Connection...</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<property name="image">image2</property>
<property name="use-stock">False</property>
<signal name="activate" handler="on_menu_file_add_connection_activate" swapped="no"/> <signal name="activate" handler="on_menu_file_add_connection_activate" swapped="no"/>
</object> </object>
</child> </child>
@ -74,25 +53,23 @@
</object> </object>
</child> </child>
<child> <child>
<object class="GtkImageMenuItem" id="menu_file_close"> <object class="GtkMenuItem" id="menu_file_close">
<property name="label">gtk-close</property> <property name="label" translatable="yes">_Close</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<property name="use-stock">True</property>
<property name="accel-group">accelgroup1</property>
<signal name="activate" handler="on_menu_file_close_activate" swapped="no"/> <signal name="activate" handler="on_menu_file_close_activate" swapped="no"/>
<accelerator key="w" signal="activate" modifiers="GDK_CONTROL_MASK"/>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkImageMenuItem" id="menu_file_quit"> <object class="GtkMenuItem" id="menu_file_quit">
<property name="label">gtk-quit</property> <property name="label" translatable="yes">_Quit</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<property name="use-stock">True</property>
<property name="accel-group">accelgroup1</property>
<signal name="activate" handler="on_menu_file_quit_activate" swapped="no"/> <signal name="activate" handler="on_menu_file_quit_activate" swapped="no"/>
<accelerator key="q" signal="activate" modifiers="GDK_CONTROL_MASK"/>
</object> </object>
</child> </child>
</object> </object>
@ -109,35 +86,29 @@
<object class="GtkMenu" id="menuitem5_menu"> <object class="GtkMenu" id="menuitem5_menu">
<property name="can-focus">False</property> <property name="can-focus">False</property>
<child> <child>
<object class="GtkImageMenuItem" id="menu_host_details"> <object class="GtkMenuItem" id="menu_host_details">
<property name="label" translatable="yes">_Connection Details</property> <property name="label" translatable="yes">_Connection Details</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<property name="image">image5</property>
<property name="use-stock">False</property>
<signal name="activate" handler="on_menu_host_details_activate" swapped="no"/> <signal name="activate" handler="on_menu_host_details_activate" swapped="no"/>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkImageMenuItem" id="menu_edit_details"> <object class="GtkMenuItem" id="menu_edit_details">
<property name="label" translatable="yes">_Virtual Machine Details</property> <property name="label" translatable="yes">_Virtual Machine Details</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<property name="image">image4</property>
<property name="use-stock">False</property>
<signal name="activate" handler="on_menu_edit_details_activate" swapped="no"/> <signal name="activate" handler="on_menu_edit_details_activate" swapped="no"/>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkImageMenuItem" id="menu_edit_delete"> <object class="GtkMenuItem" id="menu_edit_delete">
<property name="label">gtk-delete</property> <property name="label" translatable="yes">_Delete</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<property name="use-stock">True</property>
<property name="accel-group">accelgroup1</property>
<signal name="activate" handler="on_menu_edit_delete_activate" swapped="no"/> <signal name="activate" handler="on_menu_edit_delete_activate" swapped="no"/>
</object> </object>
</child> </child>
@ -148,13 +119,11 @@
</object> </object>
</child> </child>
<child> <child>
<object class="GtkImageMenuItem" id="menu_edit_preferences"> <object class="GtkMenuItem" id="menu_edit_preferences">
<property name="label">gtk-preferences</property> <property name="label" translatable="yes">_Preferences</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<property name="use-stock">True</property>
<property name="accel-group">accelgroup1</property>
<signal name="activate" handler="on_menu_edit_preferences_activate" swapped="no"/> <signal name="activate" handler="on_menu_edit_preferences_activate" swapped="no"/>
</object> </object>
</child> </child>
@ -247,13 +216,11 @@
<object class="GtkMenu" id="menuitem7_menu"> <object class="GtkMenu" id="menuitem7_menu">
<property name="can-focus">False</property> <property name="can-focus">False</property>
<child> <child>
<object class="GtkImageMenuItem" id="menu_help_about"> <object class="GtkMenuItem" id="menu_help_about">
<property name="label">gtk-about</property> <property name="label" translatable="yes">_About</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<property name="use-stock">True</property>
<property name="accel-group">accelgroup1</property>
<signal name="activate" handler="on_menu_help_about_activate" swapped="no"/> <signal name="activate" handler="on_menu_help_about_activate" swapped="no"/>
</object> </object>
</child> </child>
@ -329,7 +296,7 @@
<property name="tooltip-text" translatable="yes">Power on the virtual machine</property> <property name="tooltip-text" translatable="yes">Power on the virtual machine</property>
<property name="label" translatable="yes">_Run</property> <property name="label" translatable="yes">_Run</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<property name="stock-id">gtk-media-play</property> <property name="icon-name">media-playback-start</property>
<signal name="clicked" handler="on_vm_run_clicked" swapped="no"/> <signal name="clicked" handler="on_vm_run_clicked" swapped="no"/>
</object> </object>
<packing> <packing>
@ -345,7 +312,7 @@
<property name="tooltip-text" translatable="yes">Pause the virtual machine</property> <property name="tooltip-text" translatable="yes">Pause the virtual machine</property>
<property name="label" translatable="yes">_Pause</property> <property name="label" translatable="yes">_Pause</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<property name="stock-id">gtk-media-pause</property> <property name="icon-name">media-playback-pause</property>
<signal name="clicked" handler="on_vm_pause_clicked" swapped="no"/> <signal name="clicked" handler="on_vm_pause_clicked" swapped="no"/>
</object> </object>
<packing> <packing>

View File

@ -438,7 +438,7 @@ This can simplify setup since no additional firewall ports need to be open, and
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="valign">start</property> <property name="valign">start</property>
<property name="stock">gtk-dialog-warning</property> <property name="icon-name">dialog-warning</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -642,11 +642,11 @@ If 'temporary' is selected, the migration is considered only a temporary move: t
<property name="layout-style">end</property> <property name="layout-style">end</property>
<child> <child>
<object class="GtkButton" id="migrate-cancel"> <object class="GtkButton" id="migrate-cancel">
<property name="label">gtk-cancel</property> <property name="label" translatable="yes">_Cancel</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_migrate_cancel_clicked" swapped="no"/> <signal name="clicked" handler="on_migrate_cancel_clicked" swapped="no"/>
</object> </object>
<packing> <packing>

View File

@ -47,7 +47,7 @@
<object class="GtkImage" id="image2"> <object class="GtkImage" id="image2">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-dialog-warning</property> <property name="icon-name">dialog-warning</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -106,7 +106,7 @@
<object class="GtkImage" id="image1"> <object class="GtkImage" id="image1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-dialog-warning</property> <property name="icon-name">dialog-warning</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>

View File

@ -38,7 +38,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="valign">start</property> <property name="valign">start</property>
<property name="stock">gtk-info</property> <property name="icon-name">dialog-information</property>
<property name="icon_size">3</property> <property name="icon_size">3</property>
</object> </object>
<packing> <packing>

View File

@ -90,7 +90,7 @@
<object class="GtkImage"> <object class="GtkImage">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-dialog-warning</property> <property name="icon-name">dialog-warning</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -1008,11 +1008,11 @@ identical CPUs in order to migrate the VM.</property>
<property name="layout-style">end</property> <property name="layout-style">end</property>
<child> <child>
<object class="GtkButton" id="prefs-close"> <object class="GtkButton" id="prefs-close">
<property name="label">gtk-close</property> <property name="label" translatable="yes">_Close</property>
<property name="use-underline">True</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="use-stock">True</property>
<signal name="clicked" handler="on_prefs_close_clicked" swapped="no"/> <signal name="clicked" handler="on_prefs_close_clicked" swapped="no"/>
</object> </object>
<packing> <packing>

View File

@ -135,7 +135,7 @@
<object class="GtkImage" id="snapshot-status-icon"> <object class="GtkImage" id="snapshot-status-icon">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-cancel</property> <property name="icon-name">image-missing</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -245,7 +245,7 @@
<object class="GtkImage" id="snapshot-screenshot"> <object class="GtkImage" id="snapshot-screenshot">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-missing-image</property> <property name="icon-name">image-missing</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -280,7 +280,7 @@
<object class="GtkImage" id="image2"> <object class="GtkImage" id="image2">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-info</property> <property name="icon-name">dialog-information</property>
<property name="icon_size">2</property> <property name="icon_size">2</property>
</object> </object>
<packing> <packing>
@ -392,7 +392,7 @@
<object class="GtkImage" id="image1"> <object class="GtkImage" id="image1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-add</property> <property name="icon-name">list-add</property>
</object> </object>
</child> </child>
<child internal-child="accessible"> <child internal-child="accessible">
@ -418,7 +418,7 @@
<object class="GtkImage" id="someicon"> <object class="GtkImage" id="someicon">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-media-play</property> <property name="icon-name">media-playback-start</property>
</object> </object>
</child> </child>
<child internal-child="accessible"> <child internal-child="accessible">
@ -444,7 +444,7 @@
<object class="GtkImage" id="image5"> <object class="GtkImage" id="image5">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-refresh</property> <property name="icon-name">view-refresh</property>
</object> </object>
</child> </child>
<child internal-child="accessible"> <child internal-child="accessible">
@ -472,7 +472,7 @@
<object class="GtkImage" id="image11"> <object class="GtkImage" id="image11">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-delete</property> <property name="icon-name">edit-delete</property>
</object> </object>
</child> </child>
<child internal-child="accessible"> <child internal-child="accessible">
@ -502,14 +502,14 @@
<property name="layout-style">end</property> <property name="layout-style">end</property>
<child> <child>
<object class="GtkButton" id="snapshot-apply"> <object class="GtkButton" id="snapshot-apply">
<property name="label">gtk-apply</property> <property name="label" translatable="yes">_Apply</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="has-tooltip">True</property> <property name="has-tooltip">True</property>
<property name="use-underline">True</property>
<property name="tooltip-markup" translatable="yes">Save updated snapshot metadata</property> <property name="tooltip-markup" translatable="yes">Save updated snapshot metadata</property>
<property name="tooltip-text" translatable="yes">Save updated snapshot metadata</property> <property name="tooltip-text" translatable="yes">Save updated snapshot metadata</property>
<property name="use-stock">True</property>
<signal name="clicked" handler="on_snapshot_apply_clicked" swapped="no"/> <signal name="clicked" handler="on_snapshot_apply_clicked" swapped="no"/>
<child internal-child="accessible"> <child internal-child="accessible">
<object class="AtkObject" id="snapshot-apply-atkobject"> <object class="AtkObject" id="snapshot-apply-atkobject">

View File

@ -2,11 +2,6 @@
<!-- Generated with glade 3.38.2 --> <!-- Generated with glade 3.38.2 -->
<interface> <interface>
<requires lib="gtk+" version="3.22"/> <requires lib="gtk+" version="3.22"/>
<object class="GtkImage" id="image3">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="stock">gtk-new</property>
</object>
<object class="GtkWindow" id="snapshot-new"> <object class="GtkWindow" id="snapshot-new">
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="title" translatable="yes">Create snapshot</property> <property name="title" translatable="yes">Create snapshot</property>
@ -33,7 +28,7 @@
<object class="GtkImage" id="image4"> <object class="GtkImage" id="image4">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-new</property> <property name="icon-name">document-new</property>
<property name="icon_size">6</property> <property name="icon_size">6</property>
</object> </object>
<packing> <packing>
@ -182,7 +177,6 @@
<object class="GtkImage" id="snapshot-new-status-icon"> <object class="GtkImage" id="snapshot-new-status-icon">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-cancel</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -227,7 +221,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property> <property name="halign">start</property>
<property name="stock">gtk-missing-image</property> <property name="icon-name">image-missing</property>
</object> </object>
<packing> <packing>
<property name="left-attach">1</property> <property name="left-attach">1</property>
@ -251,11 +245,11 @@
<property name="layout-style">end</property> <property name="layout-style">end</property>
<child> <child>
<object class="GtkButton" id="snapshot-new-cancel"> <object class="GtkButton" id="snapshot-new-cancel">
<property name="label">gtk-cancel</property> <property name="label" translatable="yes">_Cancel</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="use-stock">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_snapshot_new_cancel_clicked" swapped="no"/> <signal name="clicked" handler="on_snapshot_new_cancel_clicked" swapped="no"/>
</object> </object>
<packing> <packing>
@ -270,7 +264,6 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="image">image3</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<signal name="clicked" handler="on_snapshot_new_ok_clicked" swapped="no"/> <signal name="clicked" handler="on_snapshot_new_ok_clicked" swapped="no"/>
</object> </object>

View File

@ -2,25 +2,11 @@
<!-- Generated with glade 3.38.2 --> <!-- Generated with glade 3.38.2 -->
<interface> <interface>
<requires lib="gtk+" version="3.22"/> <requires lib="gtk+" version="3.22"/>
<object class="GtkAccelGroup" id="accelgroup1"/>
<object class="GtkImage" id="image1">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="stock">gtk-close</property>
</object>
<object class="GtkImage" id="image2">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="stock">gtk-quit</property>
</object>
<object class="GtkWindow" id="vmm-vmwindow"> <object class="GtkWindow" id="vmm-vmwindow">
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="title" translatable="yes">Virtual Machine</property> <property name="title" translatable="yes">Virtual Machine</property>
<property name="default-width">800</property> <property name="default-width">800</property>
<property name="default-height">600</property> <property name="default-height">600</property>
<accel-groups>
<group name="accelgroup1"/>
</accel-groups>
<signal name="configure-event" handler="on_vmm_details_configure_event" swapped="no"/> <signal name="configure-event" handler="on_vmm_details_configure_event" swapped="no"/>
<signal name="delete-event" handler="on_vmm_details_delete_event" swapped="no"/> <signal name="delete-event" handler="on_vmm_details_delete_event" swapped="no"/>
<child> <child>
@ -57,27 +43,21 @@
</object> </object>
</child> </child>
<child> <child>
<object class="GtkImageMenuItem" id="close4"> <object class="GtkMenuItem" id="close4">
<property name="label">_Close</property> <property name="label" translatable="yes">_Close</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<property name="image">image1</property>
<property name="use-stock">False</property>
<property name="accel-group">accelgroup1</property>
<signal name="activate" handler="on_details_menu_close_activate" swapped="no"/> <signal name="activate" handler="on_details_menu_close_activate" swapped="no"/>
<accelerator key="w" signal="activate" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/> <accelerator key="w" signal="activate" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkImageMenuItem" id="quit3"> <object class="GtkMenuItem" id="quit3">
<property name="label">_Quit</property> <property name="label" translatable="yes">_Quit</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<property name="image">image2</property>
<property name="use-stock">False</property>
<property name="accel-group">accelgroup1</property>
<signal name="activate" handler="on_details_menu_quit_activate" swapped="no"/> <signal name="activate" handler="on_details_menu_quit_activate" swapped="no"/>
<accelerator key="q" signal="activate" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/> <accelerator key="q" signal="activate" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
</object> </object>
@ -333,7 +313,7 @@
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="tooltip-text" translatable="yes">Show virtual hardware details</property> <property name="tooltip-text" translatable="yes">Show virtual hardware details</property>
<property name="label" translatable="yes">Details</property> <property name="label" translatable="yes">Details</property>
<property name="stock-id">gtk-info</property> <property name="icon-name">dialog-information</property>
<property name="group">control-vm-console</property> <property name="group">control-vm-console</property>
<signal name="toggled" handler="on_control_vm_details_toggled" swapped="no"/> <signal name="toggled" handler="on_control_vm_details_toggled" swapped="no"/>
</object> </object>
@ -359,7 +339,7 @@
<property name="tooltip-text" translatable="yes">Power on the virtual machine</property> <property name="tooltip-text" translatable="yes">Power on the virtual machine</property>
<property name="label" translatable="yes">Run</property> <property name="label" translatable="yes">Run</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<property name="stock-id">gtk-media-play</property> <property name="icon-name">media-playback-start</property>
<signal name="clicked" handler="on_control_run_clicked" swapped="no"/> <signal name="clicked" handler="on_control_run_clicked" swapped="no"/>
</object> </object>
<packing> <packing>
@ -374,7 +354,7 @@
<property name="tooltip-text" translatable="yes">Pause the virtual machine</property> <property name="tooltip-text" translatable="yes">Pause the virtual machine</property>
<property name="label" translatable="yes">Pause</property> <property name="label" translatable="yes">Pause</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<property name="stock-id">gtk-media-pause</property> <property name="icon-name">media-playback-pause</property>
<signal name="toggled" handler="on_control_pause_toggled" swapped="no"/> <signal name="toggled" handler="on_control_pause_toggled" swapped="no"/>
</object> </object>
<packing> <packing>
@ -426,7 +406,7 @@
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="tooltip-text" translatable="yes">Switch to fullscreen view</property> <property name="tooltip-text" translatable="yes">Switch to fullscreen view</property>
<property name="halign">end</property> <property name="halign">end</property>
<property name="stock-id">gtk-fullscreen</property> <property name="icon-name">view-fullscreen</property>
<signal name="toggled" handler="on_control_fullscreen_toggled" swapped="no"/> <signal name="toggled" handler="on_control_fullscreen_toggled" swapped="no"/>
</object> </object>
<packing> <packing>
@ -453,7 +433,6 @@
<property name="is-important">True</property> <property name="is-important">True</property>
<property name="label" translatable="yes">_Begin Installation</property> <property name="label" translatable="yes">_Begin Installation</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<property name="stock-id">gtk-apply</property>
<signal name="clicked" handler="on_details_customize_finish_clicked" swapped="no"/> <signal name="clicked" handler="on_details_customize_finish_clicked" swapped="no"/>
</object> </object>
<packing> <packing>
@ -468,7 +447,6 @@
<property name="is-important">True</property> <property name="is-important">True</property>
<property name="label" translatable="yes">_Cancel Installation</property> <property name="label" translatable="yes">_Cancel Installation</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<property name="stock-id">gtk-cancel</property>
<signal name="clicked" handler="on_details_cancel_customize_clicked" swapped="no"/> <signal name="clicked" handler="on_details_cancel_customize_clicked" swapped="no"/>
</object> </object>
<packing> <packing>

View File

@ -81,7 +81,7 @@
<object class="GtkImage"> <object class="GtkImage">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-dialog-warning</property> <property name="icon-name">dialog-warning</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>

View File

@ -224,21 +224,21 @@ class vmmAddHardware(vmmGObjectUI):
add_hw_option(_("Sound"), "audio-card", PAGE_SOUND, add_hw_option(_("Sound"), "audio-card", PAGE_SOUND,
self.vm.is_hvm(), self.vm.is_hvm(),
_("Not supported for this guest type.")) _("Not supported for this guest type."))
add_hw_option(_("Serial"), Gtk.STOCK_CONNECT, PAGE_CHAR, add_hw_option(_("Serial"), "device_serial", PAGE_CHAR,
self.vm.is_hvm(), self.vm.is_hvm(),
_("Not supported for this guest type."), _("Not supported for this guest type."),
"serial") "serial")
add_hw_option(_("Parallel"), Gtk.STOCK_CONNECT, PAGE_CHAR, add_hw_option(_("Parallel"), "device_serial", PAGE_CHAR,
self.vm.is_hvm(), self.vm.is_hvm(),
_("Not supported for this guest type."), _("Not supported for this guest type."),
"parallel") "parallel")
add_hw_option(_("Console"), Gtk.STOCK_CONNECT, PAGE_CHAR, add_hw_option(_("Console"), "device_serial", PAGE_CHAR,
True, None, "console") True, None, "console")
add_hw_option(_("Channel"), Gtk.STOCK_CONNECT, PAGE_CHAR, add_hw_option(_("Channel"), "device_serial", PAGE_CHAR,
self.vm.is_hvm(), self.vm.is_hvm(),
_("Not supported for this guest type."), _("Not supported for this guest type."),
"channel") "channel")
add_hw_option(_("USB Host Device"), "system-run", PAGE_HOSTDEV, add_hw_option(_("USB Host Device"), "device_usb", PAGE_HOSTDEV,
self.conn.support.conn_nodedev(), self.conn.support.conn_nodedev(),
_("Connection does not support host device enumeration"), _("Connection does not support host device enumeration"),
"usb") "usb")
@ -249,10 +249,10 @@ class vmmAddHardware(vmmGObjectUI):
if self.vm.is_container(): if self.vm.is_container():
nodedev_enabled = False nodedev_enabled = False
nodedev_errstr = _("Not supported for containers") nodedev_errstr = _("Not supported for containers")
add_hw_option(_("PCI Host Device"), "system-run", PAGE_HOSTDEV, add_hw_option(_("PCI Host Device"), "device_pci", PAGE_HOSTDEV,
nodedev_enabled, nodedev_errstr, "pci") nodedev_enabled, nodedev_errstr, "pci")
add_hw_option(_("MDEV Host Device"), "system-run", PAGE_HOSTDEV, add_hw_option(_("MDEV Host Device"), "device_pci", PAGE_HOSTDEV,
self.conn.support.conn_nodedev(), self.conn.support.conn_nodedev(),
_("Connection does not support host device enumeration"), _("Connection does not support host device enumeration"),
"mdev") "mdev")

View File

@ -304,10 +304,10 @@ class vmmCloneVM(vmmGObjectUI):
_chkbox.set_property('active', active) _chkbox.set_property('active', active)
_chkbox.set_property('visible', visible) _chkbox.set_property('visible', visible)
_chkimg.set_property('visible', not visible) _chkimg.set_property('visible', not visible)
icon = Gtk.STOCK_INFO icon = "dialog-information"
if sinfo.warn_about_sharing(): if sinfo.warn_about_sharing():
icon = Gtk.STOCK_DIALOG_WARNING icon = "dialog-warning"
_chkimg.set_property('stock-id', icon) _chkimg.set_property('icon-name', icon)
tooltip = sinfo.get_tooltip() tooltip = sinfo.get_tooltip()
if tooltip != model[_iter][1]: if tooltip != model[_iter][1]:
model[_iter][1] = tooltip model[_iter][1] = tooltip

View File

@ -487,7 +487,7 @@ def _populate_storage_list(storage_list, vm, conn, diskdatas):
elif not default: elif not default:
info = definfo info = definfo
icon = Gtk.STOCK_DIALOG_WARNING icon = "dialog-warning"
icon_size = Gtk.IconSize.LARGE_TOOLBAR icon_size = Gtk.IconSize.LARGE_TOOLBAR
row = [default, not can_del, diskdata.path, diskdata.label, row = [default, not can_del, diskdata.path, diskdata.label,
@ -496,7 +496,7 @@ def _populate_storage_list(storage_list, vm, conn, diskdatas):
def _prepare_storage_list(storage_list): def _prepare_storage_list(storage_list):
# Checkbox, deleteable?, storage path, target (hda), icon stock, # Checkbox, deleteable?, storage path, target (hda), icon name,
# icon size, tooltip # icon size, tooltip
model = Gtk.ListStore(bool, bool, str, str, bool, str, int, str) model = Gtk.ListStore(bool, bool, str, str, bool, str, int, str)
storage_list.set_model(model) storage_list.set_model(model)
@ -544,7 +544,7 @@ def _prepare_storage_list(storage_list):
info_img = Gtk.CellRendererPixbuf() info_img = Gtk.CellRendererPixbuf()
infoCol.pack_start(info_img, False) infoCol.pack_start(info_img, False)
infoCol.add_attribute(info_img, 'visible', STORAGE_ROW_ICON_SHOW) infoCol.add_attribute(info_img, 'visible', STORAGE_ROW_ICON_SHOW)
infoCol.add_attribute(info_img, 'stock-id', STORAGE_ROW_ICON) infoCol.add_attribute(info_img, 'icon-name', STORAGE_ROW_ICON)
infoCol.add_attribute(info_img, 'stock-size', STORAGE_ROW_ICON_SIZE) infoCol.add_attribute(info_img, 'stock-size', STORAGE_ROW_ICON_SIZE)
infoCol.set_sort_column_id(STORAGE_ROW_ICON) infoCol.set_sort_column_id(STORAGE_ROW_ICON)

View File

@ -149,7 +149,9 @@ class vmmOverlayToolbar:
self._toolbar.get_accessible().set_name("Fullscreen Toolbar") self._toolbar.get_accessible().set_name("Fullscreen Toolbar")
# Exit button # Exit button
button = Gtk.ToolButton.new_from_stock(Gtk.STOCK_LEAVE_FULLSCREEN) button = Gtk.ToolButton()
button.set_label(_("Leave Fullscreen"))
button.set_icon_name("view-restore")
button.set_tooltip_text(_("Leave fullscreen")) button.set_tooltip_text(_("Leave fullscreen"))
button.show() button.show()
button.get_accessible().set_name("Fullscreen Exit") button.get_accessible().set_name("Fullscreen Exit")

View File

@ -534,21 +534,13 @@ class vmmDetails(vmmGObjectUI):
# Add HW popup menu # Add HW popup menu
self._popupmenu = Gtk.Menu() self._popupmenu = Gtk.Menu()
addHW = Gtk.ImageMenuItem.new_with_label(_("_Add Hardware")) addHW = Gtk.MenuItem.new_with_mnemonic(_("_Add Hardware"))
addHW.set_use_underline(True)
addHWImg = Gtk.Image()
addHWImg.set_from_stock(Gtk.STOCK_ADD, Gtk.IconSize.MENU)
addHW.set_image(addHWImg)
addHW.show() addHW.show()
def _addhw_clicked_cb(*args, **kwargs): def _addhw_clicked_cb(*args, **kwargs):
self._show_addhw() self._show_addhw()
addHW.connect("activate", _addhw_clicked_cb) addHW.connect("activate", _addhw_clicked_cb)
rmHW = Gtk.ImageMenuItem.new_with_label(_("_Remove Hardware")) rmHW = Gtk.MenuItem.new_with_mnemonic(_("_Remove Hardware"))
rmHW.set_use_underline(True)
rmHWImg = Gtk.Image()
rmHWImg.set_from_stock(Gtk.STOCK_REMOVE, Gtk.IconSize.MENU)
rmHW.set_image(rmHWImg)
rmHW.show() rmHW.show()
def _remove_clicked_cb(*args, **kwargs): def _remove_clicked_cb(*args, **kwargs):
self._config_remove() self._config_remove()

View File

@ -248,13 +248,11 @@ class vmmSerialConsole(vmmGObject):
self._serial_popup = Gtk.Menu() self._serial_popup = Gtk.Menu()
self._serial_popup.get_accessible().set_name("serial-popup-menu") self._serial_popup.get_accessible().set_name("serial-popup-menu")
self._serial_copy = Gtk.ImageMenuItem.new_from_stock(Gtk.STOCK_COPY, self._serial_copy = Gtk.MenuItem.new_with_mnemonic(_("_Copy"))
None)
self._serial_copy.connect("activate", self._serial_copy_text) self._serial_copy.connect("activate", self._serial_copy_text)
self._serial_popup.add(self._serial_copy) self._serial_popup.add(self._serial_copy)
self._serial_paste = Gtk.ImageMenuItem.new_from_stock(Gtk.STOCK_PASTE, self._serial_paste = Gtk.MenuItem.new_with_mnemonic(_("_Paste"))
None)
self._serial_paste.connect("activate", self._serial_paste_text) self._serial_paste.connect("activate", self._serial_paste_text)
self._serial_popup.add(self._serial_paste) self._serial_popup.add(self._serial_paste)

View File

@ -358,7 +358,7 @@ class vmmSnapshotPage(vmmGObjectUI):
img = Gtk.CellRendererPixbuf() img = Gtk.CellRendererPixbuf()
img.set_property("stock-size", Gtk.IconSize.MENU) img.set_property("stock-size", Gtk.IconSize.MENU)
img.set_property("icon-name", Gtk.STOCK_APPLY) img.set_property("icon-name", "emblem-default")
img.set_property("xalign", 0.0) img.set_property("xalign", 0.0)
col.pack_start(img, False) col.pack_start(img, False)
col.add_attribute(img, "visible", 5) col.add_attribute(img, "visible", 5)
@ -375,20 +375,12 @@ class vmmSnapshotPage(vmmGObjectUI):
# Snapshot popup menu # Snapshot popup menu
menu = Gtk.Menu() menu = Gtk.Menu()
item = Gtk.ImageMenuItem.new_with_label(_("_Start snapshot")) item = Gtk.MenuItem.new_with_mnemonic(_("_Start snapshot"))
item.set_use_underline(True)
img = Gtk.Image()
img.set_from_stock(Gtk.STOCK_MEDIA_PLAY, Gtk.IconSize.MENU)
item.set_image(img)
item.show() item.show()
item.connect("activate", self._on_start_clicked) item.connect("activate", self._on_start_clicked)
menu.add(item) menu.add(item)
item = Gtk.ImageMenuItem.new_with_label(_("_Delete snapshot")) item = Gtk.MenuItem.new_with_mnemonic(_("_Delete snapshot"))
item.set_use_underline(True)
img = Gtk.Image()
img.set_from_stock(Gtk.STOCK_DELETE, Gtk.IconSize.MENU)
item.set_image(img)
item.show() item.show()
item.connect("activate", self._on_delete_clicked) item.connect("activate", self._on_delete_clicked)
menu.add(item) menu.add(item)

View File

@ -201,10 +201,6 @@ class vmmHostNets(vmmGObjectUI):
if not netstr: if not netstr:
return return
forward = net.get_ipv4_forward_mode()
self.widget("net-ipv4-forwarding-icon").set_from_stock(
forward and Gtk.STOCK_CONNECT or Gtk.STOCK_DISCONNECT,
Gtk.IconSize.MENU)
self.widget("net-ipv4-forwarding").set_text(net.pretty_forward_mode()) self.widget("net-ipv4-forwarding").set_text(net.pretty_forward_mode())
dhcpstr = _("Disabled") dhcpstr = _("Disabled")
@ -217,9 +213,6 @@ class vmmHostNets(vmmGObjectUI):
(netstr, (dhcpstart, dhcpend)) = net.get_ipv6_network() (netstr, (dhcpstart, dhcpend)) = net.get_ipv6_network()
self.widget("net-ipv6-expander").set_visible(bool(netstr)) self.widget("net-ipv6-expander").set_visible(bool(netstr))
self.widget("net-ipv6-forwarding-icon").set_from_stock(
netstr and Gtk.STOCK_CONNECT or Gtk.STOCK_DISCONNECT,
Gtk.IconSize.MENU)
if netstr: if netstr:
prettymode = _("Routed network") prettymode = _("Routed network")

View File

@ -175,10 +175,7 @@ class vmmHostStorage(vmmGObjectUI):
# Volume list popup menu # Volume list popup menu
self._volmenu = Gtk.Menu() self._volmenu = Gtk.Menu()
volCopyPath = Gtk.ImageMenuItem.new_with_label(_("Copy Volume Path")) volCopyPath = Gtk.MenuItem.new_with_mnemonic(_("Copy Volume Path"))
volCopyImage = Gtk.Image()
volCopyImage.set_from_stock(Gtk.STOCK_COPY, Gtk.IconSize.MENU)
volCopyPath.set_image(volCopyImage)
volCopyPath.show() volCopyPath.show()
volCopyPath.connect("activate", self._vol_copy_path_cb) volCopyPath.connect("activate", self._vol_copy_path_cb)
self._volmenu.add(volCopyPath) self._volmenu.add(volCopyPath)

View File

@ -281,10 +281,7 @@ class vmmManager(vmmGObjectUI):
def init_context_menus(self): def init_context_menus(self):
def add_to_menu(idx, text, cb): def add_to_menu(idx, text, cb):
if text[0:3] == 'gtk': item = Gtk.MenuItem.new_with_mnemonic(text)
item = Gtk.ImageMenuItem.new_from_stock(text, None)
else:
item = Gtk.ImageMenuItem.new_with_mnemonic(text)
if cb: if cb:
item.connect("activate", cb) item.connect("activate", cb)
item.get_accessible().set_name("conn-%s" % idx) item.get_accessible().set_name("conn-%s" % idx)
@ -292,14 +289,13 @@ class vmmManager(vmmGObjectUI):
self.connmenu_items[idx] = item self.connmenu_items[idx] = item
# Build connection context menu # Build connection context menu
add_to_menu("create", Gtk.STOCK_NEW, self.new_vm) add_to_menu("create", _("_New"), self.new_vm)
add_to_menu("connect", Gtk.STOCK_CONNECT, self.open_conn) add_to_menu("connect", _("_Connect"), self.open_conn)
add_to_menu("disconnect", Gtk.STOCK_DISCONNECT, add_to_menu("disconnect", _("Dis_connect"), self.close_conn)
self.close_conn)
self.connmenu.add(Gtk.SeparatorMenuItem()) self.connmenu.add(Gtk.SeparatorMenuItem())
add_to_menu("delete", Gtk.STOCK_DELETE, self.do_delete) add_to_menu("delete", _("De_lete"), self.do_delete)
self.connmenu.add(Gtk.SeparatorMenuItem()) self.connmenu.add(Gtk.SeparatorMenuItem())
add_to_menu("details", _("D_etails"), self.show_host) add_to_menu("details", _("_Details"), self.show_host)
self.connmenu.show_all() self.connmenu.show_all()
def init_vmlist(self): def init_vmlist(self):

View File

@ -109,8 +109,6 @@ class vmmNetwork(vmmLibvirtObject):
return self.get_xmlobj().domain_name return self.get_xmlobj().domain_name
def get_ipv6_enabled(self): def get_ipv6_enabled(self):
return self.get_xmlobj().ipv6 return self.get_xmlobj().ipv6
def get_ipv4_forward_mode(self):
return self.get_xmlobj().forward.mode
def _get_network(self, family): def _get_network(self, family):
dhcpstart = None dhcpstart = None

View File

@ -24,20 +24,8 @@ class _VMMenu(Gtk.Menu):
self._init_state() self._init_state()
def _add_action(self, label, widgetname, cb, def _add_action(self, label, widgetname, cb):
iconname="system-shutdown"): item = Gtk.MenuItem.new_with_mnemonic(label)
if label.startswith("gtk-"):
item = Gtk.ImageMenuItem.new_from_stock(label, None)
else:
item = Gtk.ImageMenuItem.new_with_mnemonic(label)
if iconname:
if iconname.startswith("gtk-"):
icon = Gtk.Image.new_from_stock(iconname, Gtk.IconSize.MENU)
else:
icon = Gtk.Image.new_from_icon_name(iconname,
Gtk.IconSize.MENU)
item.set_image(icon)
item.vmm_widget_name = widgetname item.vmm_widget_name = widgetname
if cb: if cb:
@ -66,8 +54,7 @@ class VMShutdownMenu(_VMMenu):
self._add_action(_("F_orce Reset"), "reset", VMActionUI.reset) self._add_action(_("F_orce Reset"), "reset", VMActionUI.reset)
self._add_action(_("_Force Off"), "destroy", VMActionUI.destroy) self._add_action(_("_Force Off"), "destroy", VMActionUI.destroy)
self.add(Gtk.SeparatorMenuItem()) self.add(Gtk.SeparatorMenuItem())
self._add_action(_("Sa_ve"), "save", VMActionUI.save, self._add_action(_("Sa_ve"), "save", VMActionUI.save)
iconname=Gtk.STOCK_SAVE)
self.get_accessible().set_name("vmm-shutdown-menu") self.get_accessible().set_name("vmm-shutdown-menu")
self.show_all() self.show_all()
@ -92,27 +79,20 @@ class VMActionMenu(_VMMenu):
VM submenu for run, pause, shutdown, clone, etc VM submenu for run, pause, shutdown, clone, etc
""" """
def _init_state(self): def _init_state(self):
self._add_action(_("_Run"), "run", VMActionUI.run, self._add_action(_("_Run"), "run", VMActionUI.run)
iconname=Gtk.STOCK_MEDIA_PLAY) self._add_action(_("_Pause"), "suspend", VMActionUI.suspend)
self._add_action(_("_Pause"), "suspend", VMActionUI.suspend, self._add_action(_("R_esume"), "resume", VMActionUI.resume)
Gtk.STOCK_MEDIA_PAUSE)
self._add_action(_("R_esume"), "resume", VMActionUI.resume,
Gtk.STOCK_MEDIA_PAUSE)
s = self._add_action(_("_Shut Down"), "shutdown", None) s = self._add_action(_("_Shut Down"), "shutdown", None)
s.set_submenu(VMShutdownMenu(self._parent, self._current_vm_cb)) s.set_submenu(VMShutdownMenu(self._parent, self._current_vm_cb))
self.add(Gtk.SeparatorMenuItem()) self.add(Gtk.SeparatorMenuItem())
self._add_action(_("Clone..."), "clone", self._add_action(_("Clone..."), "clone", VMActionUI.clone)
VMActionUI.clone, iconname=None) self._add_action(_("Migrate..."), "migrate", VMActionUI.migrate)
self._add_action(_("Migrate..."), "migrate", self._add_action(_("_Delete"), "delete", VMActionUI.delete)
VMActionUI.migrate, iconname=None)
self._add_action(_("_Delete"), "delete",
VMActionUI.delete, iconname=Gtk.STOCK_DELETE)
if self._show_open: if self._show_open:
self.add(Gtk.SeparatorMenuItem()) self.add(Gtk.SeparatorMenuItem())
self._add_action(Gtk.STOCK_OPEN, "show", self._add_action(_("_Open"), "show", VMActionUI.show)
VMActionUI.show, iconname=None)
self.get_accessible().set_name("vm-action-menu") self.get_accessible().set_name("vm-action-menu")
self.show_all() self.show_all()