Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] Re: (PR#2680) [PATCH] Cities window: hide/raise instead of
Home

[Freeciv-Dev] Re: (PR#2680) [PATCH] Cities window: hide/raise instead of

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] Re: (PR#2680) [PATCH] Cities window: hide/raise instead of destroy/create
From: "Stepan Roh via RT" <rt@xxxxxxxxxxxxxx>
Date: Mon, 30 Dec 2002 14:00:51 -0800
Reply-to: rt@xxxxxxxxxxxxxx



On Mon, 30 Dec 2002, Vasco Alexandre Da Silva Costa via RT wrote:

>
> On Mon, 30 Dec 2002, Stepan Roh via RT wrote:
>
> >
> > Implemented:
> >
> > - cities (F1) window should not be reset to default if closed and then
> > opened and already opened window should be moved to top if F1 is pressed
> >
> > Patch is against latest CVS HEAD and it is a unified diff against
> > client/gui-gtk/cityrep.c.
> >
> > Tested with window manager from KDE 3.
>
> Why are you using GDK functions? That is sick.

GTK 1.2 is sick.

> Doesn't plain gtk_widget_show/hide work?

gtk_widget_show() resets position to that set with
gtk_widget_set_uposition() and for unknown reason does not raise the
window on top (at least on my machine). And if gdk_window_show() is used,
gdk_window_hide() must be used as counterpart.

Have a nice day.

Stepan Roh




[Prev in Thread] Current Thread [Next in Thread]