Re: [Evolution-hackers] Status bar
- From: Not Zed <notzed ximian com>
- To: ERDI Gergo <cactus cactus rulez org>
- Cc: Ettore Perazzoli <ettore ximian com>, evolution-hackers ximian com
- Subject: Re: [Evolution-hackers] Status bar
- Date: Mon, 08 Dec 2003 12:17:14 +1100
On Sun, 2003-12-07 at 06:04, ERDI Gergo wrote:
On Sun, 7 Dec 2003, Not Zed wrote:
> That's still, essentially, a proxy. and to be honest 'url hover' just
> sounds 'gay'.
:)
> > The problem is that there are two competing ways to set the statusbar, and
> > parts of Evolution use both.
> > THe main shell uses its own Evolution::Component interface, thus when the
> > mail component is embedded in the main window, it has to use this.
> > On the other hand, Bonobo proper uses the Bonobo::UI interface. This is
> > the interface used when you double-click a mail message and it is opened
> > in a separate window.
>
>
>
> What has 'bonobo proper' to dowith evolution? If the
> evolution::component interface suffices?
>
> I still don't grok it.
OK. Look at em-message-browser.c:147
emmb = (EMMessageBrowser *)em_message_browser_new();
gtk_widget_show((GtkWidget *)emmb);
/* FIXME: title set elsewhere? */
emmb->window = g_object_new(bonobo_window_get_type(), "title", "Ximian Evolution", NULL);
bonobo_window_set_contents((BonoboWindow *)emmb->window, (GtkWidget *)emmb);
so, an EMMessageBrowser is embedded in a vanilla BonoboWindow.
And BonoboWindows don't support the ETaskBar stuff, so you can only set
the status bar via the BonoboUI interface.
Hmmm. Ok, i suppose that's a reasonable solution to it then. What happens if you have multiple top-level windows open? (full shells).
Really, I don't know what else I could explain. I'm going to #evolution
now so you can ask about the exact details that are still hazy.
Sorry I was really busy on the weekend, moving house.
oh i just noticed this:
- p = emfv->priv = g_malloc0(sizeof(struct _EMFolderViewPrivate));
+ p = emfv->priv = g_new0(struct _EMFolderViewPrivate, 1);
don't change that either.
Z
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]