From 54f748a343dbfc6a6df3fa82c550c260d7fd262a Mon Sep 17 00:00:00 2001 From: Michael Zucchi Date: Tue, 27 Jun 2000 03:45:36 +0000 Subject: Put in a gross hack to export the shell reference elsewhere. 2000-06-27 Michael Zucchi * component-factory.c (owner_set_cb): Put in a gross hack to export the shell reference elsewhere. svn path=/trunk/; revision=3748 --- mail/component-factory.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mail/component-factory.c') diff --git a/mail/component-factory.c b/mail/component-factory.c index fd1ff42a60..a48ada7327 100644 --- a/mail/component-factory.c +++ b/mail/component-factory.c @@ -63,6 +63,9 @@ static const EvolutionShellComponentFolderType folder_types[] = { static GList *browsers; +/* GROSS HACK: for passing to other parts of the program */ +Evolution_Shell global_shell_interface; + /* EvolutionShellComponent methods and signals. */ static EvolutionShellComponentResult @@ -123,6 +126,8 @@ owner_set_cb (EvolutionShellComponent *shell_component, { g_print ("evolution-mail: Yeeeh! We have an owner!\n"); /* FIXME */ + /* GROSS HACK */ + global_shell_interface = shell_interface; create_vfolder_storage (shell_component); create_imap_storage (shell_component); create_news_storage (shell_component); -- cgit