[Xfce4-commits] [xfce/xfce4-power-manager] 21/64: Move tooltip to glade file and fix alignment of spindown checks
noreply at xfce.org
noreply at xfce.org
Mon May 26 06:00:16 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 c302a286a12f5240f74d3c9c6fcf435d4a2cfb32
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Fri May 2 18:25:38 2014 +0200
Move tooltip to glade file and fix alignment of spindown checks
---
data/interfaces/xfpm-settings.ui | 5 +++++
settings/xfpm-settings.c | 2 --
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/data/interfaces/xfpm-settings.ui b/data/interfaces/xfpm-settings.ui
index bffc31d..83f229b 100644
--- a/data/interfaces/xfpm-settings.ui
+++ b/data/interfaces/xfpm-settings.ui
@@ -167,6 +167,7 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="draw_indicator">True</property>
+ <property name="tooltip-text" translatable="yes">Disable Display Power Management Signaling (DPMS), e.g don't attempt to switch off the display or put it in sleep mode.</property>
<signal name="toggled" handler="dpms_toggled_cb"/>
</object>
<packing>
@@ -357,6 +358,8 @@
<packing>
<property name="left_attach">2</property>
<property name="top_attach">4</property>
+ <property name="x_options">GTK_EXPAND</property>
+ <property name="y_options">GTK_EXPAND</property>
</packing>
</child>
<child>
@@ -370,6 +373,8 @@
<packing>
<property name="left_attach">3</property>
<property name="top_attach">4</property>
+ <property name="x_options">GTK_EXPAND</property>
+ <property name="y_options">GTK_EXPAND</property>
</packing>
</child>
<child>
diff --git a/settings/xfpm-settings.c b/settings/xfpm-settings.c
index def5ec9..194d29d 100644
--- a/settings/xfpm-settings.c
+++ b/settings/xfpm-settings.c
@@ -1188,8 +1188,6 @@ xfpm_settings_general (XfconfChannel *channel, gboolean auth_hibernate,
val = xfconf_channel_get_bool (channel, PROPERTIES_PREFIX DPMS_ENABLED_CFG, TRUE);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(dpms), val);
- gtk_widget_set_tooltip_text (dpms, _("Disable Display Power Management Signaling (DPMS), "\
- "e.g don't attempt to switch off the display or put it in sleep mode."));
#else
gtk_widget_hide (dpms);
#endif
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list