gtk: hide window when minimized

2007-05-15 Thread bronson
Hello, could anyone tell me how can I hide window, when user minimizes it? I tried to handle signal 'window-state-event', but when in that method i hide window, strange things happen - window hides, and then shows up again and it never ends. Any help would be appretiated. Thanks in advance, Pr

Re: gtk: hide window when minimized

2007-05-15 Thread Emmanuele Bassi
On Tue, 2007-05-15 at 13:51 +0200, bronson wrote: > Hello, > > could anyone tell me how can I hide window, when user minimizes it? > I tried to handle signal 'window-state-event', but when in that method i > hide window, > strange things happen - window hides, and then shows up again and it > ne

Re: gtk: hide window when minimized

2007-05-16 Thread Hans Petter Jansson
On Tue, 2007-05-15 at 12:55 +0100, Emmanuele Bassi wrote: > On Tue, 2007-05-15 at 13:51 +0200, bronson wrote: > > could anyone tell me how can I hide window, when user minimizes it? > > I tried to handle signal 'window-state-event', but when in that method i > > hide window, > > strange things ha