aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Zucchi <zucchi@zedzone.mmc.com.au>2000-06-27 11:45:36 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-06-27 11:45:36 +0800
commit54f748a343dbfc6a6df3fa82c550c260d7fd262a (patch)
treea4eeba0d77fbaeae378ca3035e2b45df5dccf27f
parent74ada04fb25609778e9cc42f4c7a4cccca152861 (diff)
downloadgsoc2013-evolution-54f748a343dbfc6a6df3fa82c550c260d7fd262a.tar
gsoc2013-evolution-54f748a343dbfc6a6df3fa82c550c260d7fd262a.tar.gz
gsoc2013-evolution-54f748a343dbfc6a6df3fa82c550c260d7fd262a.tar.bz2
gsoc2013-evolution-54f748a343dbfc6a6df3fa82c550c260d7fd262a.tar.lz
gsoc2013-evolution-54f748a343dbfc6a6df3fa82c550c260d7fd262a.tar.xz
gsoc2013-evolution-54f748a343dbfc6a6df3fa82c550c260d7fd262a.tar.zst
gsoc2013-evolution-54f748a343dbfc6a6df3fa82c550c260d7fd262a.zip
Put in a gross hack to export the shell reference elsewhere.
2000-06-27 Michael Zucchi <zucchi@zedzone.mmc.com.au> * component-factory.c (owner_set_cb): Put in a gross hack to export the shell reference elsewhere. svn path=/trunk/; revision=3748
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/component-factory.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index e77383b9ab..7d13e049ea 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-27 Michael Zucchi <zucchi@zedzone.mmc.com.au>
+
+ * component-factory.c (owner_set_cb): Put in a gross hack to
+ export the shell reference elsewhere.
+
2000-06-26 Christopher James Lahey <clahey@helixcode.com>
* message-list.c: Added a value_to_string handler.
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);