[gnome-control-center] panels: Fix all but one uses of use-stock property
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] panels: Fix all but one uses of use-stock property
- Date: Thu, 4 Sep 2014 13:25:31 +0000 (UTC)
commit 745c7ef9de4065e3a010b61d9322525dd11c65df
Author: David King <amigadave amigadave com>
Date: Thu Sep 4 14:12:40 2014 +0100
panels: Fix all but one uses of use-stock property
Avoid the deprecated use-stock.
https://bugzilla.gnome.org/show_bug.cgi?id=736052
panels/color/color.ui | 8 ++++----
.../network/connection-editor/connection-editor.ui | 4 ++--
panels/network/network-wifi.ui | 12 ++++++------
panels/region/input-options.ui | 4 ++--
panels/wacom/button-mapping.ui | 4 ++--
panels/wacom/gnome-wacom-properties.ui | 4 ++--
6 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/panels/color/color.ui b/panels/color/color.ui
index 36ac70b..aeb50e0 100644
--- a/panels/color/color.ui
+++ b/panels/color/color.ui
@@ -653,11 +653,11 @@
</child>
<child>
<object class="GtkButton" id="button_assign_cancel">
- <property name="label">gtk-cancel</property>
+ <property name="label">_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>
@@ -668,11 +668,11 @@
</child>
<child>
<object class="GtkButton" id="button_assign_ok">
- <property name="label">gtk-add</property>
+ <property name="label">_Add</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>
diff --git a/panels/network/connection-editor/connection-editor.ui
b/panels/network/connection-editor/connection-editor.ui
index 46bde23..d34696d 100644
--- a/panels/network/connection-editor/connection-editor.ui
+++ b/panels/network/connection-editor/connection-editor.ui
@@ -21,11 +21,11 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="details_cancel_button">
- <property name="label">gtk-cancel</property>
+ <property name="label">_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>
diff --git a/panels/network/network-wifi.ui b/panels/network/network-wifi.ui
index 7d8d8d9..c6d27cb 100644
--- a/panels/network/network-wifi.ui
+++ b/panels/network/network-wifi.ui
@@ -21,11 +21,11 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="details_cancel_button">
- <property name="label">gtk-cancel</property>
+ <property name="label">_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,11 +35,11 @@
</child>
<child>
<object class="GtkButton" id="details_apply_button">
- <property name="label">gtk-apply</property>
+ <property name="label">_Apply</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>
@@ -1553,11 +1553,11 @@ here</property>
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="hotspot-cancel-button">
- <property name="label">gtk-cancel</property>
+ <property name="label">_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>
diff --git a/panels/region/input-options.ui b/panels/region/input-options.ui
index 391d3c7..29fdd3b 100644
--- a/panels/region/input-options.ui
+++ b/panels/region/input-options.ui
@@ -18,11 +18,11 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="ok-button">
- <property name="label">gtk-close</property>
+ <property name="label">_Close</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>
diff --git a/panels/wacom/button-mapping.ui b/panels/wacom/button-mapping.ui
index 2ee0c56..4ed27da 100644
--- a/panels/wacom/button-mapping.ui
+++ b/panels/wacom/button-mapping.ui
@@ -34,14 +34,14 @@
</child>
<child>
<object class="GtkButton" id="close_button">
- <property name="label">gtk-close</property>
+ <property name="label">_Close</property>
<property name="use_action_appearance">False</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/panels/wacom/gnome-wacom-properties.ui b/panels/wacom/gnome-wacom-properties.ui
index 8ecb9d0..ff21ec2 100644
--- a/panels/wacom/gnome-wacom-properties.ui
+++ b/panels/wacom/gnome-wacom-properties.ui
@@ -56,13 +56,13 @@
</child>
<child>
<object class="GtkButton" id="closebutton1">
- <property name="label">gtk-close</property>
+ <property name="label">_Close</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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]