PATCH: Fix show all headers problem
- From: "M . Thielker" <balsa t-data com>
- To: Balsa List <balsa-list gnome org>
- Subject: PATCH: Fix show all headers problem
- Date: Thu, 16 Aug 2001 21:17:06 +0200
Hi,
the attached micro-patch will fix the problem when balsa is closed while
show all headers toolbar button is active. Formerly, Balsa would save that
as the new default and show all headers on the next start. This is now reset
to the saved value before shutdown.
Melanie
diff -b -B -r -u -P --exclude-from=ignore ../balsa-cvs/src/main-window.c ./src/main-window.c
--- ../balsa-cvs/src/main-window.c Thu Aug 16 18:40:35 2001
+++ ./src/main-window.c Thu Aug 16 21:14:01 2001
@@ -1264,6 +1264,9 @@
window = BALSA_WINDOW(object);
+ if(show_all_headers_save != -1)
+ balsa_app.shown_headers=show_all_headers_save;
+
if (GTK_OBJECT_CLASS(parent_class)->destroy)
(*GTK_OBJECT_CLASS(parent_class)->destroy) (GTK_OBJECT(object));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]