Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2001:
[Freeciv-Dev] Re: new_city_dialog ver 12
Home

[Freeciv-Dev] Re: new_city_dialog ver 12

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Daniel Sjölie <deepone@xxxxxxxxxx>, Mike Kaufman <mkaufman@xxxxxxxxxxxxxx>, Freeciv-Dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: new_city_dialog ver 12
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 24 Oct 2001 18:44:32 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

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


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