[gnome-maps] main-window: More consistent property names



commit 0774f443675caf0ed182f305b52a2f43402090a1
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sat Oct 5 07:04:27 2013 +0300

    main-window: More consistent property names
    
    Use '-' instead of '_' for all props in the UI file.

 src/main-window.ui |   34 +++++++++++++++++-----------------
 1 files changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/src/main-window.ui b/src/main-window.ui
index 62eb3e4..6f5489c 100644
--- a/src/main-window.ui
+++ b/src/main-window.ui
@@ -16,66 +16,66 @@
     </section>
   </menu>
   <object class="GtkApplicationWindow" id="app-window">
-    <property name="width_request">600</property>
-    <property name="height_request">500</property>
-    <property name="window_position">center</property>
+    <property name="width-request">600</property>
+    <property name="height-request">500</property>
+    <property name="window-position">center</property>
     <property name="title" translatable="yes">Maps</property>
     <child type="titlebar">
       <object class="GtkHeaderBar" id="header-bar">
         <property name="visible">True</property>
-        <property name="can_focus">False</property>
-        <property name="show_close_button">True</property>
+        <property name="can-focus">False</property>
+        <property name="show-close-button">True</property>
         <style>
           <class name="titlebar"/>
         </style>
         <child type="title">
           <object class="GtkSearchEntry" id="search-entry">
             <property name="visible">True</property>
-            <property name="has_focus">True</property>
-            <property name="width_request">500</property>
+            <property name="has-focus">True</property>
+            <property name="width-request">500</property>
           </object>
         </child>
         <child>
           <object class="GtkButton" id="goto-user-location-button">
             <property name="visible">True</property>
-            <property name="can_focus">True</property>
+            <property name="can-focus">True</property>
             <property name="valign">center</property>
-            <property name="action_name">win.goto-user-location</property>
+            <property name="action-name">win.goto-user-location</property>
             <style>
               <class name="image-button"/>
             </style>
             <child>
               <object class="GtkImage" id="track-user-button-image">
                 <property name="visible">True</property>
-                <property name="icon_size">1</property>
-                <property name="icon_name">find-location-symbolic</property>
+                <property name="icon-size">1</property>
+                <property name="icon-name">find-location-symbolic</property>
               </object>
             </child>
           </object>
           <packing>
-            <property name="pack_type">start</property>
+            <property name="pack-type">start</property>
           </packing>
         </child>
         <child>
           <object class="GtkMenuButton" id="layer-menu-button">
             <property name="visible">True</property>
-            <property name="can_focus">True</property>
+            <property name="can-focus">True</property>
             <property name="valign">center</property>
             <property name="menu-model">map-type-menu</property>
-            <property name="action_name">win.map-type-menu</property>
+            <property name="action-name">win.map-type-menu</property>
             <style>
               <class name="image-button"/>
             </style>
             <child>
               <object class="GtkImage" id="layer-menu-button-image">
                 <property name="visible">True</property>
-                <property name="icon_size">1</property>
-                <property name="icon_name">emblem-system-symbolic</property>
+                <property name="icon-size">1</property>
+                <property name="icon-name">emblem-system-symbolic</property>
               </object>
             </child>
           </object>
           <packing>
-            <property name="pack_type">end</property>
+            <property name="pack-type">end</property>
           </packing>
         </child>
       </object>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]