Re: [Evolution-hackers] showing the toplevel Evolution window

> I'm working on the Evolution panel notification applet bounty, and I'd 
> like to have it automatically raise the Evolution window when clicked 
> (basically, I want to use gtk_window_present or something similar). 
> I've been browsing the source, and I don't see any way to get a 
> GtkWindow handle to the shell's toplevel window. Is it possible to do 
> that? If not, is there some other way to present the Evolution shell 
> window? 

This reminds me of a very related topic: There have been at least 2
requests (discussions) about not opening a new Evolution when clicking a
launcher a *second* time, but to raise the existing main window.

Maybe another command-line option will be necessary, but I don't think
this should be very hard with the underlying Evolution shell, is it?
Ettore, comments?

The last thread about this:


char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]