[totem] Fix logic error in the preferences
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [totem] Fix logic error in the preferences
- Date: Thu, 15 Oct 2009 13:03:00 +0000 (UTC)
commit 4feaa041b8349de9ca5a123f96c36cf3036e557e
Author: Robert Ancell <robert ancell gmail com>
Date: Thu Oct 15 14:00:28 2009 +0100
Fix logic error in the preferences
The screensaver preferences toggle does not activate. This is
due to broken logic in the toggled callback.
https://bugzilla.gnome.org/show_bug.cgi?id=598514
src/totem-preferences.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/totem-preferences.c b/src/totem-preferences.c
index b39a7cc..b60cfc9 100644
--- a/src/totem-preferences.c
+++ b/src/totem-preferences.c
@@ -194,7 +194,7 @@ checkbutton4_toggled_cb (GtkToggleButton *togglebutton, Totem *totem)
gconf_client_set_bool (totem->gc,
GCONF_PREFIX"/lock_screensaver_on_audio",
- value, NULL);
+ !value, NULL);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]