Re: nautilus initial window size
- From: Alexander Larsson <alexl redhat com>
- To: Frank Worsley <fworsley shaw ca>
- Cc: David Emory Watson <dwatson cs ucr edu>, Dave Bordoley <bordoley msu edu>, <nautilus-list gnome org>
- Subject: Re: nautilus initial window size
- Date: Sat, 1 Jun 2002 23:24:46 -0400 (EDT)
On Fri, 31 May 2002, Frank Worsley wrote:
> > It might make it more difficult for the user to set the same geometry
> > for multiple directories. But that's no worse than requiring the user
> > to close the window....
>
> So I'm just trying to make this work and it's a little problematic.
>
> I'm using the configure_event to figure out when the window gets
> resized. But that's emitted constantly while the user resizes the
> window, so we save geometry all the time. That's off course less than
> ideal ... especially if you save to a slow disk.
>
> Is there a GTK event that lets me know when a user grabs the window
> handles and when he lets go of them? That way I can just wait for the
> 'user let go' event and save the geometry then.
No. X doesn't have anything like that.
> Otherwise I could add a timeout to the configure event callback that
> saves the geometry if no new configure event has occured after a certain
> amount of time. Of course that's kind of a bad hack.
It's the only way i can think of.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a short-sighted bohemian waffle chef fleeing from a secret government
programme. She's a time-travelling psychic bodyguard with an evil twin sister.
They fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]