[glom] Glade files: Replace stock properties with icon-name properties.



commit aeec731c84564588e921bb34e40b90b8838bfe58
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Jul 17 20:22:53 2014 +0200

    Glade files: Replace stock properties with icon-name properties.

 data/ui/developer/dialog_change_language.glade     |    2 +-
 data/ui/developer/dialog_choose_user.glade         |    2 +-
 .../ui/developer/dialog_database_preferences.glade |   33 +-------------------
 data/ui/developer/dialog_new_group.glade           |    2 +-
 data/ui/developer/dialog_new_library_script.glade  |    2 +-
 data/ui/developer/dialog_translation_copy.glade    |    2 +-
 .../dialog_translation_identify_original.glade     |    2 +-
 data/ui/operator/dialog_choose_date.glade          |    2 +-
 data/ui/operator/dialog_data_invalid_format.glade  |    2 +-
 data/ui/operator/dialog_existing_or_new.glade      |    2 +-
 data/ui/operator/dialog_import_csv.glade           |   33 +------------------
 11 files changed, 12 insertions(+), 72 deletions(-)
---
diff --git a/data/ui/developer/dialog_change_language.glade b/data/ui/developer/dialog_change_language.glade
index b4b0a5b..e21e75c 100644
--- a/data/ui/developer/dialog_change_language.glade
+++ b/data/ui/developer/dialog_change_language.glade
@@ -81,7 +81,7 @@
                 <property name="can_focus">False</property>
                 <property name="halign">start</property>
                 <property name="valign">start</property>
-                <property name="stock">gtk-dialog-question</property>
+                <property name="icon-name">dialog-question</property>
                 <property name="icon_size">6</property>
               </object>
               <packing>
diff --git a/data/ui/developer/dialog_choose_user.glade b/data/ui/developer/dialog_choose_user.glade
index 9f35b7f..06a6265 100644
--- a/data/ui/developer/dialog_choose_user.glade
+++ b/data/ui/developer/dialog_choose_user.glade
@@ -91,7 +91,7 @@
                     <property name="can_focus">False</property>
                     <property name="halign">start</property>
                     <property name="valign">start</property>
-                    <property name="stock">gtk-dialog-question</property>
+                    <property name="icon-name">dialog-question</property>
                     <property name="icon_size">6</property>
                   </object>
                   <packing>
diff --git a/data/ui/developer/dialog_database_preferences.glade 
b/data/ui/developer/dialog_database_preferences.glade
index 8ead91c..870a877 100644
--- a/data/ui/developer/dialog_database_preferences.glade
+++ b/data/ui/developer/dialog_database_preferences.glade
@@ -368,42 +368,11 @@
                         <property name="spacing">6</property>
                         <child>
                           <object class="GtkButton" id="button_choose_image">
+                            <property name="label" translatable="yes">Choose Image</property>
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
                             <property name="can_default">True</property>
                             <property name="receives_default">False</property>
-                            <child>
-                              <object class="GtkBox" id="hbox114">
-                                <property name="visible">True</property>
-                                <property name="can_focus">False</property>
-                                <property name="spacing">2</property>
-                                <child>
-                                  <object class="GtkImage" id="image49">
-                                    <property name="visible">True</property>
-                                    <property name="can_focus">False</property>
-                                    <property name="stock">_Open</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="label243">
-                                    <property name="visible">True</property>
-                                    <property name="can_focus">False</property>
-                                    <property name="label" translatable="yes">Choose Image</property>
-                                    <property name="use_underline">True</property>
-                                  </object>
-                                  <packing>
-                                    <property name="expand">False</property>
-                                    <property name="fill">False</property>
-                                    <property name="position">1</property>
-                                  </packing>
-                                </child>
-                              </object>
-                            </child>
                           </object>
                           <packing>
                             <property name="expand">False</property>
diff --git a/data/ui/developer/dialog_new_group.glade b/data/ui/developer/dialog_new_group.glade
index f608961..1d82154 100644
--- a/data/ui/developer/dialog_new_group.glade
+++ b/data/ui/developer/dialog_new_group.glade
@@ -91,7 +91,7 @@
                     <property name="can_focus">False</property>
                     <property name="halign">start</property>
                     <property name="valign">start</property>
-                    <property name="stock">gtk-dialog-question</property>
+                    <property name="icon-name">dialog-question</property>
                     <property name="icon_size">6</property>
                   </object>
                   <packing>
diff --git a/data/ui/developer/dialog_new_library_script.glade 
b/data/ui/developer/dialog_new_library_script.glade
index 9a88d46..0908d8b 100644
--- a/data/ui/developer/dialog_new_library_script.glade
+++ b/data/ui/developer/dialog_new_library_script.glade
@@ -94,7 +94,7 @@
                     <property name="can_focus">False</property>
                     <property name="halign">start</property>
                     <property name="valign">start</property>
-                    <property name="stock">gtk-dialog-question</property>
+                    <property name="icon-name">dialog-question</property>
                     <property name="icon_size">6</property>
                   </object>
                   <packing>
diff --git a/data/ui/developer/dialog_translation_copy.glade b/data/ui/developer/dialog_translation_copy.glade
index 734be67..174fb25 100644
--- a/data/ui/developer/dialog_translation_copy.glade
+++ b/data/ui/developer/dialog_translation_copy.glade
@@ -83,7 +83,7 @@
                 <property name="can_focus">False</property>
                 <property name="halign">start</property>
                 <property name="valign">start</property>
-                <property name="stock">gtk-dialog-question</property>
+                <property name="icon-name">dialog-question</property>
                 <property name="icon_size">6</property>
               </object>
               <packing>
diff --git a/data/ui/developer/dialog_translation_identify_original.glade 
b/data/ui/developer/dialog_translation_identify_original.glade
index 7d0459e..75d9138 100644
--- a/data/ui/developer/dialog_translation_identify_original.glade
+++ b/data/ui/developer/dialog_translation_identify_original.glade
@@ -80,7 +80,7 @@
                 <property name="can_focus">False</property>
                 <property name="halign">start</property>
                 <property name="valign">start</property>
-                <property name="stock">gtk-dialog-question</property>
+                <property name="icon-name">dialog-question</property>
                 <property name="icon_size">6</property>
               </object>
               <packing>
diff --git a/data/ui/operator/dialog_choose_date.glade b/data/ui/operator/dialog_choose_date.glade
index e1f30f4..f139118 100644
--- a/data/ui/operator/dialog_choose_date.glade
+++ b/data/ui/operator/dialog_choose_date.glade
@@ -92,7 +92,7 @@
                     <property name="can_focus">False</property>
                     <property name="halign">start</property>
                     <property name="valign">start</property>
-                    <property name="stock">gtk-dialog-question</property>
+                    <property name="icon-name">dialog-question</property>
                     <property name="icon_size">6</property>
                   </object>
                   <packing>
diff --git a/data/ui/operator/dialog_data_invalid_format.glade 
b/data/ui/operator/dialog_data_invalid_format.glade
index c224f44..09f7753 100644
--- a/data/ui/operator/dialog_data_invalid_format.glade
+++ b/data/ui/operator/dialog_data_invalid_format.glade
@@ -86,7 +86,7 @@
                 <property name="can_focus">False</property>
                 <property name="halign">start</property>
                 <property name="valign">start</property>
-                <property name="stock">gtk-info</property>
+                <property name="icon-name">dialog-information</property>
                 <property name="icon_size">6</property>
               </object>
               <packing>
diff --git a/data/ui/operator/dialog_existing_or_new.glade b/data/ui/operator/dialog_existing_or_new.glade
index b9df308..b9159ff 100644
--- a/data/ui/operator/dialog_existing_or_new.glade
+++ b/data/ui/operator/dialog_existing_or_new.glade
@@ -85,7 +85,7 @@
                 <property name="can_focus">False</property>
                 <property name="halign">start</property>
                 <property name="valign">start</property>
-                <property name="stock">gtk-dialog-question</property>
+                <property name="icon-name">dialog-question</property>
                 <property name="icon_size">6</property>
               </object>
               <packing>
diff --git a/data/ui/operator/dialog_import_csv.glade b/data/ui/operator/dialog_import_csv.glade
index 8ad119a..e453aec 100644
--- a/data/ui/operator/dialog_import_csv.glade
+++ b/data/ui/operator/dialog_import_csv.glade
@@ -38,41 +38,12 @@
             </child>
             <child>
               <object class="GtkButton" id="import_csv_import_button">
+                <property name="label" translatable="yes">I_mport</property>
                 <property name="use_action_appearance">False</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">False</property>
-                <child>
-                  <object class="GtkBox" id="hbox4">
-                    <property name="visible">True</property>
-                    <property name="can_focus">False</property>
-                    <child>
-                      <object class="GtkImage" id="image6">
-                        <property name="visible">True</property>
-                        <property name="can_focus">False</property>
-                        <property name="stock">gtk-convert</property>
-                      </object>
-                      <packing>
-                        <property name="expand">False</property>
-                        <property name="fill">True</property>
-                        <property name="position">0</property>
-                      </packing>
-                    </child>
-                    <child>
-                      <object class="GtkLabel" id="label7">
-                        <property name="visible">True</property>
-                        <property name="can_focus">False</property>
-                        <property name="label" translatable="yes">I_mport</property>
-                        <property name="use_underline">True</property>
-                      </object>
-                      <packing>
-                        <property name="expand">True</property>
-                        <property name="fill">True</property>
-                        <property name="position">1</property>
-                      </packing>
-                    </child>
-                  </object>
-                </child>
+                <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]