Re: GEP 12: Bonobo Unique Application

On Thu, Apr 24, 2003 at 06:18:13PM +0100, Michael Meeks wrote:
>         Comments welcome,

FWIW this seems to address the easy part of the gnome-terminal factory
code, but not the hard parts. 

Some hard parts are:

 - the argument parsing; forwarding args in a way that makes sense
   seems to be a total nightmare. Worse, forwarding environment
   variables. Between gtk_init(), gnome_program_init(), popt, 
   etc. this is a real pain.

 - multiple display/screen handling, forwarding --screen for example
   (forwarding --display is probably crack because GTK can't shut down
   a GdkDisplay and Xlib won't let apps survive a display vanishing,
   but you need to autodisable the app service when --display is given
   at least). Forwarding --screen and the screen part of DISPLAY
   should definitely happen though.

 - is the app service per-login-session?  (Not global, or per-display)

It'd be interesting to look at how KUniqueApplication addresses these


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