summaryrefslogtreecommitdiff
path: root/src/gpm-backlight-helper.c
diff options
context:
space:
mode:
authorfhucho <[email protected]>2012-07-07 12:26:54 +0300
committerfhucho <[email protected]>2012-07-07 12:26:54 +0300
commitdbc609478699bc792611a1ab982c078c64adb561 (patch)
treeec7c6684984c34f5a63da974150e7895a01875a4 /src/gpm-backlight-helper.c
parentaa14fa93ea3ec648987b92e6c5cd804c4a2889c9 (diff)
downloadmate-power-manager-dbc609478699bc792611a1ab982c078c64adb561.tar.bz2
mate-power-manager-dbc609478699bc792611a1ab982c078c64adb561.tar.xz
Added "nvidia_backlight" to the list of backlight interfaces. Setting brightness with hotkeys should now work on notebooks with the Nvidia binary driver (tested on MacBook Pro 7,1).
Diffstat (limited to 'src/gpm-backlight-helper.c')
-rw-r--r--src/gpm-backlight-helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpm-backlight-helper.c b/src/gpm-backlight-helper.c
index 4868446..a9c0fd4 100644
--- a/src/gpm-backlight-helper.c
+++ b/src/gpm-backlight-helper.c
@@ -52,6 +52,7 @@ gcm_backlight_helper_get_best_backlight ()
/* available kernel interfaces in priority order */
static const gchar *backlight_interfaces[] = {
"nv_backlight",
+ "nvidia_backlight",
"asus_laptop",
"toshiba",
"eeepc",