[gnome-color-manager] Remove deprecated widgets
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Remove deprecated widgets
- Date: Tue, 27 Jan 2015 10:04:43 +0000 (UTC)
commit 0d4b5d2ff564b040f76a1269affdac8c18b2698f
Author: Trinh Anh Ngoc <atw1990 gmail com>
Date: Thu Jan 1 15:50:49 2015 +0700
Remove deprecated widgets
data/gcm-picker.ui | 4 +-
data/gcm-viewer.ui | 63 +++++++--------------------------------------------
2 files changed, 11 insertions(+), 56 deletions(-)
---
diff --git a/data/gcm-picker.ui b/data/gcm-picker.ui
index 4687a3b..2efa04a 100644
--- a/data/gcm-picker.ui
+++ b/data/gcm-picker.ui
@@ -37,8 +37,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<object class="GtkBox" id="box1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">6</property>
- <property name="margin_right">6</property>
+ <property name="margin_start">6</property>
+ <property name="margin_end">6</property>
<property name="margin_top">6</property>
<property name="orientation">vertical</property>
<property name="spacing">9</property>
diff --git a/data/gcm-viewer.ui b/data/gcm-viewer.ui
index 612cf08..99d2c5d 100644
--- a/data/gcm-viewer.ui
+++ b/data/gcm-viewer.ui
@@ -18,11 +18,10 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button_close">
- <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>
</object>
<packing>
<property name="expand">False</property>
@@ -556,18 +555,6 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
- <object class="GtkImage" id="image1">
- <property name="can_focus">False</property>
- <property name="stock">gtk-apply</property>
- <property name="icon-size">6</property>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
<object class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -652,18 +639,6 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
- <object class="GtkImage" id="image6">
- <property name="can_focus">False</property>
- <property name="stock">gtk-yes</property>
- <property name="icon-size">6</property>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
<object class="GtkLabel" id="label6">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -746,18 +721,6 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
- <object class="GtkImage" id="image7">
- <property name="can_focus">False</property>
- <property name="stock">gtk-refresh</property>
- <property name="icon-size">6</property>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
<object class="GtkLabel" id="label16">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -829,6 +792,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
+ <property name="relief">none</property>
<child internal-child="accessible">
<object class="AtkObject" id="button_image_prev-atkobject">
<property name="AtkObject::accessible-description"
translatable="yes">Previous Image</property>
@@ -838,7 +802,7 @@
<object class="GtkImage" id="image2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="stock">gtk-media-previous</property>
+ <property name="icon_name">go-previous-symbolic</property>
</object>
</child>
</object>
@@ -877,6 +841,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
+ <property name="relief">none</property>
<child internal-child="accessible">
<object class="AtkObject" id="button_image_next-atkobject">
<property name="AtkObject::accessible-description" translatable="yes">Next
Image</property>
@@ -886,7 +851,7 @@
<object class="GtkImage" id="image3">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="stock">gtk-media-next</property>
+ <property name="icon_name">go-next-symbolic</property>
</object>
</child>
</object>
@@ -949,6 +914,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
+ <property name="relief">none</property>
<child internal-child="accessible">
<object class="AtkObject" id="button_image_prev1-atkobject">
<property name="AtkObject::accessible-description"
translatable="yes">Previous Image</property>
@@ -958,7 +924,7 @@
<object class="GtkImage" id="image4">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="stock">gtk-media-previous</property>
+ <property name="icon_name">go-previous-symbolic</property>
</object>
</child>
</object>
@@ -997,6 +963,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
+ <property name="relief">none</property>
<child internal-child="accessible">
<object class="AtkObject" id="button_image_next1-atkobject">
<property name="AtkObject::accessible-description" translatable="yes">Next
Image</property>
@@ -1006,7 +973,7 @@
<object class="GtkImage" id="image5">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="stock">gtk-media-next</property>
+ <property name="icon_name">go-next-symbolic</property>
</object>
</child>
</object>
@@ -1084,18 +1051,6 @@
<property name="position">0</property>
</packing>
</child>
- <child>
- <object class="GtkImage" id="image_named_colors">
- <property name="can_focus">False</property>
- <property name="stock">gtk-cdrom</property>
- <property name="icon-size">6</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
</object>
<packing>
<property name="expand">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]