~ubuntu-branches/ubuntu/maverick/gnome-power-manager/maverick-proposed

« back to all changes in this revision

Viewing changes to debian/patches/14_fix_no_xbacklight_crash.patch

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2010-08-24 10:59:30 UTC
  • Revision ID: james.westby@ubuntu.com-20100824105930-qb3usbmmqse4bsp1
Tags: 2.31.90-0ubuntu4
* Fix LP: #615047 - asks for root permission to do 
  gnome-power-backlight-helper --get-max-brightness. Clean the distributed 
  policy file from the source tree before building so we install a policy
  file with the correct pkexec path
  - add debian/patches/15_distclean.patch
  - update debian/patches/series

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Description: Don't crash on systems which don't have XBACKLIGHT
2
2
# Author: Chris Coulson <chris.coulson@canonical.com>
3
3
# Bug-Ubuntu: https://bugs.launchpad.net/bugs/614039
4
 
# Forwarded: no
 
4
# Bug: https://bugzilla.gnome.org/show_bug.cgi?id=627711
 
5
# Forwarded: https://bugzilla.gnome.org/attachment.cgi?id=168554
5
6
 
6
7
diff --git a/src/gpm-brightness.c b/src/gpm-brightness.c
7
8
index 5453124..bff3411 100644