]> git.pld-linux.org Git - packages/cinnamon.git/blob - show_brightness_fix.patch
- updated to 5.8.2 (translations 5.8.1)
[packages/cinnamon.git] / show_brightness_fix.patch
1 --- a/files/usr/lib/cinnamon-settings/modules/cs_power.py       2014-11-26 10:02:59.000000000 +0000
2 +++ b/files/usr/lib/cinnamon-settings/modules/cs_power.py       2014-12-02 10:20:08.218282012 +0000
3 @@ -57,7 +57,7 @@ class Module:
4                  screen = CinnamonDesktop.RRScreen.new(Gdk.Screen.get_default())
5                  outputs = CinnamonDesktop.RRScreen.list_outputs(screen)
6                  for output in outputs:
7 -                    if (output.is_connected() and output.is_laptop() and output.get_backlight_min() >= 0 and output.get_backlight_max() > 0):
8 +                    if (output.is_connected() and output.is_laptop()):
9                          primary_output = output
10                          break
11              except Exception, detail:
This page took 0.128704 seconds and 3 git commands to generate.