[Xfce4-commits] [xfce/xfce4-power-manager] 03/04: Rename labels

noreply at xfce.org noreply at xfce.org
Tue Jun 10 10:25:13 CEST 2014


This is an automated email from the git hooks/post-receive script.

ochosi pushed a commit to branch master
in repository xfce/xfce4-power-manager.

commit 8bbede516e9fd3ccacf4ad88e613d7598d2cbd18
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Mon Jun 9 17:06:52 2014 +0200

    Rename labels
---
 data/interfaces/xfpm-settings.ui |    8 ++++----
 settings/xfpm-settings.c         |    8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/data/interfaces/xfpm-settings.ui b/data/interfaces/xfpm-settings.ui
index 4bbd88d..3ad43f3 100644
--- a/data/interfaces/xfpm-settings.ui
+++ b/data/interfaces/xfpm-settings.ui
@@ -358,7 +358,7 @@
                                 <property name="row_spacing">6</property>
                                 <property name="column_spacing">18</property>
                                 <child>
-                                  <object class="GtkLabel" id="label3">
+                                  <object class="GtkLabel" id="system_onbattery">
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
                                     <property name="label" translatable="yes">On battery</property>
@@ -370,7 +370,7 @@
                                   </packing>
                                 </child>
                                 <child>
-                                  <object class="GtkLabel" id="label4">
+                                  <object class="GtkLabel" id="system_pluggedin">
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
                                     <property name="label" translatable="yes">Plugged in</property>
@@ -863,7 +863,7 @@
                                   </packing>
                                 </child>
                                 <child>
-                                  <object class="GtkLabel" id="label18">
+                                  <object class="GtkLabel" id="display_onbattery">
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
                                     <property name="label" translatable="yes">On battery</property>
@@ -877,7 +877,7 @@
                                   </packing>
                                 </child>
                                 <child>
-                                  <object class="GtkLabel" id="label19">
+                                  <object class="GtkLabel" id="display_pluggedin">
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
                                     <property name="label" translatable="yes">Plugged in</property>
diff --git a/settings/xfpm-settings.c b/settings/xfpm-settings.c
index 508dde7..876a6a8 100644
--- a/settings/xfpm-settings.c
+++ b/settings/xfpm-settings.c
@@ -2130,14 +2130,14 @@ xfpm_settings_dialog_new (XfconfChannel *channel, gboolean system_laptop,
 				  can_spin_down);
     else
     {
-	gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (xml ,"label18")));
-	gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (xml ,"label19")));
-	gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (xml ,"label4")));
+	gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (xml ,"display_onbattery")));
+	gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (xml ,"display_pluggedin")));
 	gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (xml ,"sleep-dpms-on-battery")));
 	gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (xml ,"off-dpms-on-battery")));
 	gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (xml ,"brg-on-battery")));
 	gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (xml ,"brg-level-on-battery")));
-	gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (xml ,"label3")));
+	gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (xml ,"system_onbattery")));
+	gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (xml ,"system_pluggedin")));
 	gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (xml ,"inactivity-on-battery")));
 	gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (xml ,"on-battery-lid")));
     }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list