diff options
author | Stéphane Maniaci <stephane.maniaci@gmail.com> | 2011-07-05 23:37:14 +0200 |
---|---|---|
committer | Stéphane Maniaci <stephane.maniaci@gmail.com> | 2011-07-06 00:06:53 +0200 |
commit | a8fe550f6538ed262571bbd3ba82f068074eefaf (patch) | |
tree | 29d907c886f9a985b3c6a0a8cea9cd12a8b50289 | |
parent | 75447db955a2df4ecfa616ba914c7eadee1ecc9a (diff) | |
download | gnome-control-center-a8fe550f6538ed262571bbd3ba82f068074eefaf.tar.gz |
[location] properly rename widgets in the UI file
So that nobody knows I stole them from the printers panel.
-rw-r--r-- | panels/location/cc-location-panel.c | 2 | ||||
-rw-r--r-- | 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 6808dca91..3648a03b8 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 d489cb88b..4833858ef 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> |