[Xfce4-commits] <xfce4-power-manager:master> Fix minimim power level value to be 1%.

Ali Abdallah noreply at xfce.org
Sun Dec 19 13:28:03 CET 2010


Updating branch refs/heads/master
         to ae22bd7474e81221eb4d2372f33b90f3aa228b47 (commit)
       from 1fa099a888734289a23b422a90d51562649f4e87 (commit)

commit ae22bd7474e81221eb4d2372f33b90f3aa228b47
Author: Ali Abdallah <aliov at xfce.org>
Date:   Sun Dec 19 13:12:44 2010 +0100

    Fix minimim power level value to be 1%.

 data/interfaces/xfpm-settings.ui |    6 +++---
 src/xfpm-xfconf.c                |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/data/interfaces/xfpm-settings.ui b/data/interfaces/xfpm-settings.ui
index 78a618e..2614fb5 100644
--- a/data/interfaces/xfpm-settings.ui
+++ b/data/interfaces/xfpm-settings.ui
@@ -53,8 +53,8 @@
     <property name="step_increment">1</property>
   </object>
   <object class="GtkAdjustment" id="adjustment9">
-    <property name="value">10</property>
-    <property name="lower">5</property>
+    <property name="value">5</property>
+    <property name="lower">1</property>
     <property name="upper">20</property>
     <property name="step_increment">1</property>
   </object>
@@ -129,7 +129,6 @@
     <property name="window_position">center-on-parent</property>
     <property name="icon_name">xfpm-ac-adapter</property>
     <property name="type_hint">dialog</property>
-    <property name="has_separator">False</property>
     <property name="subtitle" translatable="yes">Power manager settings</property>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox">
@@ -1235,6 +1234,7 @@
                                             <property name="visible">True</property>
                                             <property name="can_focus">True</property>
                                             <property name="invisible_char">&#x25CF;</property>
+                                            <property name="shadow_type">none</property>
                                             <property name="adjustment">adjustment9</property>
                                             <signal name="value_changed" handler="critical_level_value_changed_cb"/>
                                             <signal name="output" handler="critical_spin_output_cb"/>
diff --git a/src/xfpm-xfconf.c b/src/xfpm-xfconf.c
index 3ac3a46..c87f2fc 100644
--- a/src/xfpm-xfconf.c
+++ b/src/xfpm-xfconf.c
@@ -239,7 +239,7 @@ xfpm_xfconf_class_init (XfpmXfconfClass *klass)
                                                         NULL, NULL,
 							1,
 							20,
-							10,
+							5,
                                                         G_PARAM_READWRITE));
 	
     /**



More information about the Xfce4-commits mailing list