[Xfce4-commits] [xfce/xfce4-power-manager] 01/01: Revert "Read from actual_brightness instead of brightness"

noreply at xfce.org noreply at xfce.org
Mon Jul 1 00:36:14 CEST 2019


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

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-power-manager.

commit 14906574c961575954a72c8bc428000efc6aa879
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Mon Jul 1 00:32:52 2019 +0200

    Revert "Read from actual_brightness instead of brightness"
    
    This reverts commit 34fe4403faaf6fe0a9de14153e32d5d3c92b919a.
    As problems were discovered and the previous solution - while documented
    otherwise - didn't cause any bugreports we decided to revert this for
    now (Bug #15197)
---
 src/xfpm-backlight-helper.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/xfpm-backlight-helper.c b/src/xfpm-backlight-helper.c
index 6e96849..9b5aecc 100644
--- a/src/xfpm-backlight-helper.c
+++ b/src/xfpm-backlight-helper.c
@@ -1,7 +1,6 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
  *
  * Copyright (C) 2010 Richard Hughes <richard at hughsie.com>
- * Copyright (C) 2019 Kacper PiwiƄski
  *
  * Licensed under the GNU General Public License Version 2
  *
@@ -613,7 +612,7 @@ main (gint argc, gchar *argv[])
 
 	/* get current brightness level */
 	if (get_brightness) {
-		filename_file = g_build_filename (filename, "actual_brightness", NULL);
+		filename_file = g_build_filename (filename, "brightness", NULL);
 		ret = g_file_get_contents (filename_file, &contents, NULL, &error);
 		if (!ret) {
 			g_print ("Could not get the value of the backlight: %s\n", error->message);

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


More information about the Xfce4-commits mailing list