summaryrefslogtreecommitdiffstats
path: root/src/virt-viewer-vm-connection.xml
diff options
context:
space:
mode:
authorFabiano Fidêncio <fidencio@redhat.com>2016-02-22 23:20:11 +0100
committerFabiano Fidêncio <fidencio@redhat.com>2016-02-24 16:57:37 +0100
commitaf1e42a101be98763e34e853d2d96a25f8ce4b50 (patch)
tree022eb1fafa49df95f212dd78450fe7caad5c25ca /src/virt-viewer-vm-connection.xml
parenta37127c7cf79005ca9645de6f46a9bc9e0035dee (diff)
downloadvirt-viewer-af1e42a101be98763e34e853d2d96a25f8ce4b50.tar.gz
virt-viewer-af1e42a101be98763e34e853d2d96a25f8ce4b50.tar.xz
virt-viewer-af1e42a101be98763e34e853d2d96a25f8ce4b50.zip
cleanup: Don't use GtkStock
It has been deprecated since Gtk 3.10. New strings have been added as the GTK_STOCK_* defines had their translations done inside Gtk itself, but now the translations of the new added labels must be done by virt-viewer translators. Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com> Acked-by: Pavel Grunt <pgrunt@redhat.com>
Diffstat (limited to 'src/virt-viewer-vm-connection.xml')
-rw-r--r--src/virt-viewer-vm-connection.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/virt-viewer-vm-connection.xml b/src/virt-viewer-vm-connection.xml
index 62319b6..f190c92 100644
--- a/src/virt-viewer-vm-connection.xml
+++ b/src/virt-viewer-vm-connection.xml
@@ -21,11 +21,11 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button-cancel">
- <property name="label">gtk-cancel</property>
+ <property name="label" translatable="yes">_Cancel</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
- <property name="use_stock">True</property>
+ <property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
@@ -35,13 +35,13 @@
</child>
<child>
<object class="GtkButton" id="button-connect">
- <property name="label">gtk-connect</property>
+ <property name="label" translatable="yes">C_onnect</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="has_default">True</property>
<property name="receives_default">True</property>
- <property name="use_stock">True</property>
+ <property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>