[Xfce4-commits] [xfce/xfce4-power-manager] 03/03: Hide handle brightness key widgets when backlight is unavailable

noreply at xfce.org noreply at xfce.org
Sat Aug 2 21:12:31 CEST 2014


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

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

commit 05ebdc3fc0ccd3e99149eff5dac76dbf2fbca6da
Author: Harald Judt <h.judt at gmx.at>
Date:   Sat Aug 2 21:03:43 2014 +0200

    Hide handle brightness key widgets when backlight is unavailable
---
 settings/xfpm-settings.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/settings/xfpm-settings.c b/settings/xfpm-settings.c
index 79406ad..9f08373 100644
--- a/settings/xfpm-settings.c
+++ b/settings/xfpm-settings.c
@@ -2109,6 +2109,8 @@ xfpm_settings_dialog_new (XfconfChannel *channel, gboolean auth_suspend,
     {
     frame = GTK_WIDGET (gtk_builder_get_object (xml, "brightness-frame"));
     gtk_widget_hide (frame);
+    frame = GTK_WIDGET (gtk_builder_get_object (xml, "keys-frame"));
+    gtk_widget_hide (frame);
     }
 
     if ( id != 0 )

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


More information about the Xfce4-commits mailing list