From ed71a8cb94a3bb163f74f2dc66dc58dcafd9185f Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 26 Feb 2004 20:07:43 +0000 Subject: Fix for bug #54352 2004-02-26 Jeffrey Stedfast Fix for bug #54352 * em-message-browser.c (emmb_class_init): Set update_message_style to FALSE. * em-folder-view.c (emfv_setting_notify): Only update message display style if our subclass wants us to. (emfv_class_init): Set update_message_style to TRUE. (emfv_view_mode): Don't save the gconf key unless our class allows us to. svn path=/trunk/; revision=24894 --- mail/em-message-browser.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mail/em-message-browser.c') diff --git a/mail/em-message-browser.c b/mail/em-message-browser.c index 4050f0b9ea..9ddbae1327 100644 --- a/mail/em-message-browser.c +++ b/mail/em-message-browser.c @@ -111,7 +111,11 @@ static void emmb_class_init(GObjectClass *klass) { klass->finalize = emmb_finalise; + ((GtkObjectClass *)klass)->destroy = emmb_destroy; + + ((EMFolderViewClass *) klass)->update_message_style = FALSE; + ((EMFolderViewClass *)klass)->set_message = emmb_set_message; ((EMFolderViewClass *)klass)->activate = emmb_activate; } -- cgit