[gnome-control-center/gsoc2011/location: 3/10] [location] properly rename widgets in the UI file



commit a8fe550f6538ed262571bbd3ba82f068074eefaf
Author: StÃphane Maniaci <stephane maniaci gmail com>
Date:   Tue Jul 5 23:37:14 2011 +0200

    [location] properly rename widgets in the UI file
    
    So that nobody knows I stole them from the printers panel.

 panels/location/cc-location-panel.c |    2 +-
 panels/location/location.ui         |   10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/panels/location/cc-location-panel.c b/panels/location/cc-location-panel.c
index 6808dca..3648a03 100644
--- a/panels/location/cc-location-panel.c
+++ b/panels/location/cc-location-panel.c
@@ -114,7 +114,7 @@ cc_location_panel_init (CcLocationPanel *self)
       return;
     }
 
-  widget = WID ("box1");
+  widget = WID ("location-vbox");
   gtk_widget_reparent (widget, (GtkWidget *) self);
 }
 
diff --git a/panels/location/location.ui b/panels/location/location.ui
index d489cb8..4833858 100644
--- a/panels/location/location.ui
+++ b/panels/location/location.ui
@@ -38,7 +38,7 @@
     <property name="resizable">False</property>
     <signal name="destroy-event" handler="_on_destroy" swapped="no"/>
     <child>
-      <object class="GtkBox" id="box1">
+      <object class="GtkBox" id="location-vbox">
         <property name="visible">True</property>
         <property name="can_focus">False</property>
         <property name="orientation">vertical</property>
@@ -171,7 +171,7 @@
                 <property name="can_focus">False</property>
                 <property name="orientation">vertical</property>
                 <child>
-                  <object class="GtkScrolledWindow" id="scrolledwindow1">
+                  <object class="GtkScrolledWindow" id="locations-scrolledwindow">
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="shadow_type">in</property>
@@ -252,12 +252,12 @@
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkToolbar" id="toolbar2">
+                  <object class="GtkToolbar" id="location-edit-toolbar">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="icon_size">1</property>
                     <child>
-                      <object class="GtkToolButton" id="printer-add-button">
+                      <object class="GtkToolButton" id="location-add-button">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
                         <property name="use_action_appearance">False</property>
@@ -271,7 +271,7 @@
                       </packing>
                     </child>
                     <child>
-                      <object class="GtkToolButton" id="printer-remove-button">
+                      <object class="GtkToolButton" id="location-remove-button">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
                         <property name="use_action_appearance">False</property>



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