patchGNUstep - Patches: patch #6146, New option: GSCloseWithLastWindow

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #6146: New option: GSCloseWithLastWindow

Submitted by:  Simon Lipp <moonz>
Submitted on:  Wed 08 Aug 2007 05:26:13 PM UTC  
 
Category:  AppKit Priority:  5 - Normal
Status:  Wont Do Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Sat 14 Jun 2008 08:22:02 AM UTC, comment #4:

Well, thinking about this some more:
1. you can use gclose to close an app gracefully anyway
2. apps can override -applicationShouldTerminate: to do this if they wish
3. if etoile really wants it, it's easy to override -terminate: to add this behavior for etoile apps.
4. keeping the options count down is good
I think on balance, this is not a good thing to do.

Richard Frith-Macdonald <CaS>
Project Member
Fri 13 Jun 2008 07:45:04 PM UTC, comment #3:

When the original report says 'and then the only way to quit the application is to kill it' it's wrong ... you can cleanly terminate a windowless application using the gclose tool which comes with gnustep-gui.

However, adding this user default feature is pretty trivial, and might be useful for some people ... so we could add it. I think we should either add it or make a decision that it's unnecessary and we aren't going to (in which case we should close this patch).

Richard Frith-Macdonald <CaS>
Project Member
Wed 08 Aug 2007 06:15:29 PM UTC, comment #2:

Well, I DO use EtoileWildMenus in an hectic way :)
In fact I use it with http://bugzilla.gnome.org/show_bug.cgi?id=353076 to get GNUstep applications integrate well with my XFCE desktop

Simon Lipp <moonz>
Wed 08 Aug 2007 05:41:31 PM UTC, comment #1:

I cannot comment on the GNUstep side.
But for EtoileWildMenu, it is suppoed to use with other Etoile components,
in this case, AZDock.
So if you have both AZDock and EtoileMenuServer running,
you can always quit the application with contextual menu on the dock
or the 'application list' menu on the menu bar.
If you prefer not to do so, then indeed you have no way to quit the application.
But to me, it is not what we originally design to do.

-Deleted Account- <yjchen>
Wed 08 Aug 2007 05:26:13 PM UTC, original submission:

When using EtoileWildMenus with GSSuppessAppIcon = YES, closing an application main window don't quit the application - and then the only way to quit the application is to kill it.
This patch adds a new option, GSCloseWithLastWindow which quit the application when the last (main) window is closed.

Simon Lipp <moonz>

 

Attached Files
file #13620:  gnustep-gui-0.12.0-terminate_on_close.patch added by moonz (1003B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by yjchen (Posted a comment)
  • -email is unavailable- added by moonz (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-06-14 CaS StatusNone => Wont Do
        Open/ClosedOpen => Closed
    2007-08-08 moonz Attached File- => Added gnustep-gui-0.12.0-terminate_on_close.patch, #13620

    Back to the top


    Powered by Savane 3.4