From 8a6f447395afc8cd55ae5d0e81632d45a9506f07 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 29 Mar 2004 16:50:23 +0000 Subject: Instead of comparing sstate[0] to '1', compare it against '0' like all the 2004-03-29 Jeffrey Stedfast * em-folder-browser.c (emfb_activate): Instead of comparing sstate[0] to '1', compare it against '0' like all the other code does. svn path=/trunk/; revision=25227 --- mail/ChangeLog | 6 ++++++ mail/em-folder-browser.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 38f7ccd5a1..e3408f4374 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2004-03-29 Jeffrey Stedfast + + * em-folder-browser.c (emfb_activate): Instead of comparing + sstate[0] to '1', compare it against '0' like all the other code + does. + 2004-03-25 Sivaiah Nallagatla * Makefile.am : remove local-config.glade from glade_DATA as it diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c index c33d7c50be..1c96fb8a77 100644 --- a/mail/em-folder-browser.c +++ b/mail/em-folder-browser.c @@ -1067,7 +1067,7 @@ emfb_activate(EMFolderView *emfv, BonoboUIComponent *uic, int act) /* ViewThreaded */ if (emfv->folder && (sstate = camel_object_meta_get(emfv->folder, "evolution:thread_list"))) { - state = sstate[0] == '1'; + state = sstate[0] != '0'; g_free(sstate); } else { state = gconf_client_get_bool(gconf, "/apps/evolution/mail/display/thread_list", NULL); -- cgit