r2778 - in trunk/src/target/OM-2007.2/applications/openmoko-dialer2: . src
njp at sita.openmoko.org
njp at sita.openmoko.org
Wed Aug 22 16:15:25 CEST 2007
Author: njp
Date: 2007-08-22 16:15:24 +0200 (Wed, 22 Aug 2007)
New Revision: 2778
Modified:
trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-notify.c
Log:
2007-08-22 Neil J. Patel <njp at o-hand.com>
* src/moko-notify.c: (moko_notify_check_brightness):
More notification fixes.
Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog 2007-08-22 14:06:56 UTC (rev 2777)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog 2007-08-22 14:15:24 UTC (rev 2778)
@@ -1,4 +1,9 @@
2007-08-22 Neil J. Patel <njp at o-hand.com>
+
+ * src/moko-notify.c: (moko_notify_check_brightness):
+ More notification fixes.
+
+2007-08-22 Neil J. Patel <njp at o-hand.com>
* src/moko-notify.c: (moko_notify_check_brightness):
Some fixes to the brightness manipulation.
Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-notify.c
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-notify.c 2007-08-22 14:06:56 UTC (rev 2777)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-notify.c 2007-08-22 14:15:24 UTC (rev 2778)
@@ -70,7 +70,7 @@
gsize bytes = 0;
GError *err = NULL;
- fd = g_open (SYS_BRIGHTNESS"/brightness", O_WRONLY, 0);
+ fd = g_open (SYS_BRIGHTNESS"/brightness", O_RDWR, 0);
if (fd == -1)
{
g_warning ("Unable to open brightness device");
More information about the commitlog
mailing list