[Freeciv-Dev] Re: new_city_dialog ver 12
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, Oct 24, 2001 at 05:49:17PM +0200, Daniel Sjölie wrote:
> On 2001-10-24 17:08:08, Raimar Falke wrote:
> > > > There is still some resizing if the city is changed. It looks like
> > > > this is caused by the improvement list.
> > >
> > > Well, it rezises because it needs more room, right? I think that's ok...
> > > Would you have it always at max size?
> >
> > I just checked this: to size of the windows does change. I have no
> > preference how you solve this problem.
>
> Well, my point was that I don't think that there is a good solution...
Completely untested:
void popup_city_dialog(struct city *pcity, int make_modal)
{
struct city_dialog *pdialog;
if (!(pdialog = get_city_dialog(pcity))) {
pdialog = create_city_dialog(pcity, make_modal);
}
gtk_set_relative_position(toplevel, pdialog->shell, 10, 10);
gtk_widget_show(pdialog->shell);
+ gdk_window_raise(pdialog->shel->window);
}
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
Tank: So what do you need? Besides a miracle.
Neo: Guns. Lots of guns.
-- From The Matrix
- [Freeciv-Dev] Re: new_city_dialog ver 12, (continued)
[Freeciv-Dev] Re: new_city_dialog ver 12, Daniel Sjölie, 2001/10/23
[Freeciv-Dev] Re: new_city_dialog ver 12, Raimar Falke, 2001/10/24
- [Freeciv-Dev] Re: new_city_dialog ver 12, Daniel Sjölie, 2001/10/24
- [Freeciv-Dev] Re: new_city_dialog ver 12, Raimar Falke, 2001/10/24
- [Freeciv-Dev] Re: new_city_dialog ver 12, Daniel Sjölie, 2001/10/24
- [Freeciv-Dev] Re: new_city_dialog ver 12,
Raimar Falke <=
- [Freeciv-Dev] Re: new_city_dialog ver 12, Daniel Sjölie, 2001/10/24
- [Freeciv-Dev] Re: new_city_dialog ver 12, Raimar Falke, 2001/10/24
- [Freeciv-Dev] Re: new_city_dialog ver 12, Daniel Sjölie, 2001/10/24
- [Freeciv-Dev] Re: new_city_dialog ver 12, Raimar Falke, 2001/10/24
- [Freeciv-Dev] Re: new_city_dialog ver 12, Daniel Sjölie, 2001/10/24
- [Freeciv-Dev] Re: new_city_dialog ver 12, Christian Knoke, 2001/10/24
- [Freeciv-Dev] Re: new_city_dialog ver 12, Raimar Falke, 2001/10/24
- [Freeciv-Dev] Re: new_city_dialog ver 12, Daniel Sjölie, 2001/10/24
- Message not available
- [Freeciv-Dev] Re: here a pre-new_city_dialog ver 14, Daniel Sjölie, 2001/10/25
- [Freeciv-Dev] Re: here a pre-new_city_dialog ver 14, Raimar Falke, 2001/10/25
|
|