Le Wed, 25 Apr 2007 21:33:46 +0200, Maciej Delmanowski <[EMAIL PROTECTED]> a écrit :
> On kwi 15, Dominique Michel wrote: > > I think at it will be a really good optional feature for Fvwm-crystal. It is > > just one thing I must think about before to commit this: test if > > gnome-session is running, if yes incorporate a little session manager > > button. > > > > Another solution will be to make the same test, and incorporate it in the > > menu when gnome-session is running. > > > > I prefer the button option, but if the majority want to have it in the > > menu, I can do so. > > You can very easy and cheaply incorporate it in the Exit menu, and handle it > the same as GDM is currently handled. If you will use a button, you will have > to change all the recipes to support it, unless you want to put it in the > specific ones, but then the others will be "crippled"... > > harnir The session managers create the environment variable SESSION_MANAGER. We can use a test that look for this variable and create the button only if it is present. After, depending for the recipe in use, some panels must be shifted or not. It is what I have done and it work fine. I done something similar for the notification area width. As example, Nebulae use a fixed width for this, and as I was doing a preference setting for stalonetray, I made it to work too with trayer in Nebulae. But I can put the gnome-session function in the menu. I put it in a button because it is actually 2 functions: LMB will save the session, MMB will launch gnome-session-properties. With this last program, the sessions can be edited as well as the gnome-session properties. It is an option to tell gnome-session to save the session at logout without any user interaction. I hate this, but some users may like it. As gnome-session already have this feature and a preference for this, I don't think at it will be good if Crystal is saving the session at exit time. It will 2 times the same functions. But what is needed is the possibility to save the session at anytime and the possibility to launch gnome-session-properties. If we put it in the menu, I think at the best place will be the lower part of the exit menu, where "new session" and "new nested session" are. Or maybe better, make a new section between the 2 existent ones. Dominique _______________________________________________ fvwm-crystal-users mailing list fvwm-crystal-users@gna.org https://mail.gna.org/listinfo/fvwm-crystal-users