comparison src/prefs.c @ 3913:419bf1bc8fa2

[gaim-migrate @ 4072] This should fix the bug where closing the debug window with the "X" would not uncheck the preference for it. Previously, it got unchecked then rechecked. The line I'm removing used to be "misc_options_new ^= OPT_MISC_DEBUG;", which I guess is a hold over or something of when prefs had that apply button, maybe. I dunno. I think this should be good... Roof. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 07 Nov 2002 03:34:46 +0000
parents 3e508dd31b76
children 30f52e7afd1d
comparison
equal deleted inserted replaced
3912:e73c48cf1645 3913:419bf1bc8fa2
1537 { 1537 {
1538 if (debugbutton) 1538 if (debugbutton)
1539 gtk_button_clicked(GTK_BUTTON(debugbutton)); 1539 gtk_button_clicked(GTK_BUTTON(debugbutton));
1540 if (misc_options & OPT_MISC_DEBUG) { 1540 if (misc_options & OPT_MISC_DEBUG) {
1541 misc_options ^= OPT_MISC_DEBUG; 1541 misc_options ^= OPT_MISC_DEBUG;
1542 misc_options ^= OPT_MISC_DEBUG;
1543 save_prefs(); 1542 save_prefs();
1544 } 1543 }
1545 g_free(dw); 1544 g_free(dw);
1546 dw = NULL; 1545 dw = NULL;
1547 return FALSE; 1546 return FALSE;