#12 minimize to tray on window close

open
nobody
None
5
2007-03-30
2007-03-30
No

Attached is a patch (against 1.2 as packaged in Ubuntu feisty, but I don't think there should be any differences to the released version) that causes delete_event to minimize to tray (well, hide the main window widget) instead of closing the application, so that when I use the window manager to close the dialog, gstm doesn't die.

I know this is an issue that tends to cause some disagreements, but not closing the program is something I've grown used to, so I'd love to see this in gstm too.

Fantastic program, by the way, I was this >< close to writing my own when I found it :-)

Discussion

  • Juri Pakaste

    Juri Pakaste - 2007-03-30

    patch to cause delete_event just hide the main window

     
  • Mario Frasca

    Mario Frasca - 2009-09-23

    I like the idea.

    if it was for me, closing the window would offer the user the choice:
    * quit and stop all tunnes
    * just hide the window
    * cancel.
    and I think I miss a "minimize" button on the main window!

    my way of using this program:
    I start the program, I open the tunnel, I don't want the window in the way and I have to use a control outside the window (the gstm applet in a panel) to 'minimize' it. in general, I would *not* want to stop the program at any time, I only want to show/hide its window and allow me manage all defined tunnels.

    I agree with Juri: fantastic program! I also wrote my own small program for managing tunnels, but this one is quite a few times better and easier to install on my friends' computers!

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks