From e5e79cb370b32909d1fbc1fc923aeb1f0a6446fa Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Tue, 26 Jun 2001 22:37:13 +0000 Subject: Mail: 001-06-26 Peter Williams * folder-browser-ui.c: New file derived from folder-browser-factory.c. Contains the Bonobo UI code, split into three groups as described in ui/ChangeLog. Also contains the GalView stuff and the hookups into the Bonobo UI stuff. * folder-browser-factory.c: Move most of the UI stuff to folder-browser-ui.c. (control_activate): Add all three kinds of UI element to this folderbrowser. (control_deactivate): Remove all three kinds. * folder-browser-ui.h: New file. Prototypes functions to add UI elements to a FolderBrowser. * Makefile.am: Add folder-browser-ui.{c,h} * message-browser.c (PARENT_TYPE): Change to BONOBO_TYPE_WINDOW (message_browser_destroy): Chain to parent destroy function. (set_bonobo_ui): New function. Add the 'message' functions from the folder browser to our UI. (message_browser_close): BonoboVerbify this. * message-browser.h: Convert to BonoboWindow. UI: 6-26 Peter Williams * evolution-mail-global.xml: * evolution-mail-list.xml: * evolution-mail-message.xml: New files. These are the result of splitting evolution-mail.xml into three pieces: one for the global mailer operations, one for the operations on a messagelist, and one for the operations on one or more messages. * evolution-mail-messagedisplay: New file. UI for the standalone message browser that you get when you double-click. Very skeleton. * evolution-mail.xml: Removed. * Makefile.am: Updated to install new files. svn path=/trunk/; revision=10514 --- mail/message-browser.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'mail/message-browser.h') diff --git a/mail/message-browser.h b/mail/message-browser.h index 365a2cd6da..208396bff4 100644 --- a/mail/message-browser.h +++ b/mail/message-browser.h @@ -24,6 +24,8 @@ #define _MESSAGE_BROWSER_H_ #include +#include + #include #include "folder-browser.h" #include "mail-display.h" @@ -35,9 +37,8 @@ #define IS_MESSAGE_BROWSER(o) (GTK_CHECK_TYPE ((o), MESSAGE_BROWSER_TYPE)) #define IS_MESSAGE_BROWSER_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), MESSAGE_BROWSER_TYPE)) - struct _MessageBrowser { - GnomeApp parent; + BonoboWindow parent; /* * The current URI being displayed by the MessageBrowser @@ -47,7 +48,7 @@ struct _MessageBrowser { typedef struct { - GnomeAppClass parent_class; + BonoboWindowClass parent_class; } MessageBrowserClass; -- cgit v1.2.3