[Xfce4-commits] [xfce/xfce4-power-manager] 02/64: Simplify a string and re-add the network-manager option

noreply at xfce.org noreply at xfce.org
Mon May 26 05:59:57 CEST 2014


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

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

commit e4a331e89e05ea5a02a9c8e42868175255a88bda
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Wed Apr 30 13:47:15 2014 +0200

    Simplify a string and re-add the network-manager option
    
    Signed-off-by: Eric Koegel <eric.koegel at gmail.com>
---
 data/interfaces/xfpm-settings.ui |   23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/data/interfaces/xfpm-settings.ui b/data/interfaces/xfpm-settings.ui
index 7886d5a..4593df0 100644
--- a/data/interfaces/xfpm-settings.ui
+++ b/data/interfaces/xfpm-settings.ui
@@ -174,7 +174,7 @@
                 </child>
                 <child>
                   <object class="GtkCheckButton" id="notification">
-                    <property name="label" translatable="yes">Show notifications to notify about the battery state</property>
+                    <property name="label" translatable="yes">Show notifications</property>
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">False</property>
@@ -685,7 +685,7 @@
               <object class="GtkTable" id="advanced_table">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="n_rows">4</property>
+                <property name="n_rows">5</property>
                 <property name="n_columns">3</property>
                 <property name="row_spacing">6</property>
                 <property name="column_spacing">6</property>
@@ -804,11 +804,13 @@
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkLabel" id="lock-screen-label">
-                    <property name="visible">True</property>
-                    <property name="can_focus">False</property>
+                  <object class="GtkCheckButton" id="lock-screen">
                     <property name="label" translatable="yes">Lock screen when going for suspend/hibernate</property>
-                    <property name="xalign">0</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="draw_indicator">True</property>
+                    <signal name="toggled" handler="lock_screen_toggled_cb"/>
                   </object>
                   <packing>
                     <property name="left_attach">1</property>
@@ -816,16 +818,17 @@
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkCheckButton" id="lock-screen">
+                  <object class="GtkCheckButton" id="network-manager-sleep">
+                    <property name="label" translatable="yes">Notify Network Manager of suspend/hibernate</property>
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">False</property>
                     <property name="draw_indicator">True</property>
-                    <signal name="toggled" handler="lock_screen_toggled_cb"/>
+                    <property name="tooltip-text" translatable="yes">When enabled this signals to network manager that the system is going to suspend/hibernate so it can power down the network interfaces, saving power.</property>
                   </object>
                   <packing>
-                    <property name="left_attach">2</property>
-                    <property name="top_attach">4</property>
+                    <property name="left_attach">1</property>
+                    <property name="top_attach">5</property>
                   </packing>
                 </child>
               </object>

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


More information about the Xfce4-commits mailing list