[gnome-calculator] Avoid deprecated use-stock property
- From: Arth Patel <arthpatel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] Avoid deprecated use-stock property
- Date: Sat, 27 Dec 2014 17:32:08 +0000 (UTC)
commit 8feb5a8ed38f4bed1d1fb5692aa7eaba8e83a0e9
Author: David King <amigadave amigadave com>
Date: Thu Sep 4 15:45:12 2014 +0100
Avoid deprecated use-stock property
https://bugzilla.gnome.org/show_bug.cgi?id=736059
data/buttons-financial.ui | 40 ++++++++++++++++++++--------------------
data/buttons-programming.ui | 4 ++--
2 files changed, 22 insertions(+), 22 deletions(-)
---
diff --git a/data/buttons-financial.ui b/data/buttons-financial.ui
index 2609758..4371a7c 100644
--- a/data/buttons-financial.ui
+++ b/data/buttons-financial.ui
@@ -18,13 +18,13 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button1">
- <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="can_default">True</property>
<property name="receives_default">False</property>
<property name="use_action_appearance">False</property>
- <property name="use_stock">True</property>
+ <property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
@@ -202,13 +202,13 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button3">
- <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="can_default">True</property>
<property name="receives_default">False</property>
<property name="use_action_appearance">False</property>
- <property name="use_stock">True</property>
+ <property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
@@ -386,13 +386,13 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button5">
- <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="can_default">True</property>
<property name="receives_default">False</property>
<property name="use_action_appearance">False</property>
- <property name="use_stock">True</property>
+ <property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
@@ -570,13 +570,13 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button19">
- <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="can_default">True</property>
<property name="receives_default">False</property>
<property name="use_action_appearance">False</property>
- <property name="use_stock">True</property>
+ <property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
@@ -722,13 +722,13 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button7">
- <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="can_default">True</property>
<property name="receives_default">False</property>
<property name="use_action_appearance">False</property>
- <property name="use_stock">True</property>
+ <property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
@@ -907,13 +907,13 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button9">
- <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="can_default">True</property>
<property name="receives_default">False</property>
<property name="use_action_appearance">False</property>
- <property name="use_stock">True</property>
+ <property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
@@ -1092,13 +1092,13 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button11">
- <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="can_default">True</property>
<property name="receives_default">False</property>
<property name="use_action_appearance">False</property>
- <property name="use_stock">True</property>
+ <property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
@@ -1277,13 +1277,13 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button13">
- <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="can_default">True</property>
<property name="receives_default">False</property>
<property name="use_action_appearance">False</property>
- <property name="use_stock">True</property>
+ <property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
@@ -1462,13 +1462,13 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button15">
- <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="can_default">True</property>
<property name="receives_default">False</property>
<property name="use_action_appearance">False</property>
- <property name="use_stock">True</property>
+ <property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
@@ -1678,13 +1678,13 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button17">
- <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="can_default">True</property>
<property name="receives_default">False</property>
<property name="use_action_appearance">False</property>
- <property name="use_stock">True</property>
+ <property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
diff --git a/data/buttons-programming.ui b/data/buttons-programming.ui
index f8067ef..3d82f9d 100644
--- a/data/buttons-programming.ui
+++ b/data/buttons-programming.ui
@@ -2850,12 +2850,12 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button8">
- <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="can_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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]