[totem/gnome-2-28] Fix logic error in the preferences



commit 1787f25988ec466eb389d797a36622c46d4c7e36
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]