[Evolution-hackers] shell & component changes required for 60354

Not Zed notzed@ximian.com
Fri, 25 Jun 2004 12:26:17 +0000


--=-pn03eRNsCwHBj6egu16c
Content-Type: multipart/alternative; boundary="=-IVxBKvMOeDf8CypR0skL"


--=-IVxBKvMOeDf8CypR0skL
Content-Type: text/plain
Content-Transfer-Encoding: 7bit


It seems many of the shell interfaces were oversimplified for 1.5 or
were oversimplified to start with ...

There's no way for anything to talk to any other bit of it.  You can't
even talk to the shell from the component at all.

Anyway as part of this bug (incl patch):

http://bugzilla.ximian.com/show_bug.cgi?id=60354

I've added a bunch of new things, but so far only on a branch (notzed-
shell-title).  Some of it is a bit hacky and i'm not 100% sure on all
the reffing and whatnot.

The shell now creates ShellView objects rather than just internal
structures, when you create a new window.
Components create ComponentView objects rather than just returning
controls nobody can track or interact with later.

Components now have a path to talk to the specific window in which they
reside.

The 'new item' thing could possibly also pass the current componentview
or shellview so it retains proper context, or run itself off a view.

Potentially in the future, you could have for example, a MailView
ComponentView which subclasses ComponentView and provides additional
mail-specific interfaces like 'go to folder' 'show message' etc.

Potentially you could add a list of windows the shell is managing and
components the windows (views) are managing, so you could control evo
remotely.  Etc.

Anyway since it affects all the components, comments?

-- 

Michael Zucchi <notzed@ximian.com>

Novell's Evolution and Free Software
Developer

--=-IVxBKvMOeDf8CypR0skL
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.1.16">
</HEAD>
<BODY>
<BR>
It seems many of the shell interfaces were oversimplified for 1.5 or were oversimplified to start with ...<BR>
<BR>
There's no way for anything to talk to any other bit of it.&nbsp; You can't even talk to the shell from the component at all.<BR>
<BR>
Anyway as part of this bug (incl patch):<BR>
<BR>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=60354">http://bugzilla.ximian.com/show_bug.cgi?id=60354</A><BR>
<BR>
I've added a bunch of new things, but so far only on a branch (notzed-shell-title).&nbsp; Some of it is a bit hacky and i'm not 100% sure on all the reffing and whatnot.<BR>
<BR>
The shell now creates ShellView objects rather than just internal structures, when you create a new window.<BR>
Components create ComponentView objects rather than just returning controls nobody can track or interact with later.<BR>
<BR>
Components now have a path to talk to the specific window in which they reside.<BR>
<BR>
The 'new item' thing could possibly also pass the current componentview or shellview so it retains proper context, or run itself off a view.<BR>
<BR>
Potentially in the future, you could have for example, a MailView ComponentView which subclasses ComponentView and provides additional mail-specific interfaces like 'go to folder' 'show message' etc.<BR>
<BR>
Potentially you could add a list of windows the shell is managing and components the windows (views) are managing, so you could control evo remotely.&nbsp; Etc.<BR>
<BR>
Anyway since it affects all the components, comments?<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
<TABLE CELLSPACING="6">
<TR>
<TD>
<IMG SRC="cid:1088164787.11864.0.camel@lostzed.mmc.com.au" WIDTH="48" HEIGHT="48" ALIGN="top" ALT="" BORDER="0">
</TD>
<TD>
<B>Michael Zucchi</B> &lt;<A HREF="mailto:notzed@ximian.com">notzed@ximian.com</A>&gt;<BR>
<BR>
<I>Novell's <A HREF="http://codeblogs.ximian.com/blogs/evolution/">Evolution</A> and <A HREF="http://www.gnu.org/philosophy/free-sw.html">Free Software</A> Developer</I>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

--=-IVxBKvMOeDf8CypR0skL--

--=-pn03eRNsCwHBj6egu16c
Content-ID: <1088164787.11864.0.camel@lostzed.mmc.com.au>
Content-Disposition: attachment; filename=zed-48.small.jpg
Content-Type: application/octet-stream; name=zed-48.small.jpg
Content-Transfer-Encoding: base64

/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAA0JCgsKCA0LCgsODg0PEyAVExISEyccHhcgLikxMC4p
LSwzOko+MzZGNywtQFdB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