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: rf13@xxxxxxxxxxxxxxxxxxxxxx
Cc: Mike Kaufman <mkaufman@xxxxxxxxxxxxxx>, Freeciv-Dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: new_city_dialog ver 12
From: Daniel Sjölie <deepone@xxxxxxxxxx>
Date: Wed, 24 Oct 2001 18:46:15 +0200

On 2001-10-24 16:28:33, Raimar Falke wrote:
> On Wed, Oct 24, 2001 at 03:52:54PM +0200, Daniel Sjölie wrote:
> > On 2001-10-24 15:36:13, Raimar Falke wrote:
> > > On Tue, Oct 23, 2001 at 02:40:51PM +0200, Daniel Sjölie wrote:
> > > > > Can you tell what kind of change you have done to gtk_accelbutton_new?
> > > > 
> > > > It didn't work before... The one in cvs still doesn't work for me...
> > > > Perhaps it's a gtk version problem but this implementation should be
> > > > safer...
> > > 
> > > Neither I understand the old version nor do I understand the new
> > > version. Can you please document what the purpose of this method
> > > is. Can you tell me what a GtkAccelGroup is. The GTK documentation
> > > isn't very helpful here.
> > 
> > Well, essentially a GtkAccelGroup is what you need to make
> > Accelerators... :) I don't know a lot more than that...
> > What gtk_accelbutton_new does is take a string with a '_' somewhere in
> > it, parse this string to get the key that should accelerate the button,
> > create a button with the string as label and add an accelerator to this
> > button using the key retrieved from the string...
> > 
> > In short, it is a convenience function to create an accelerated button...
> > If that function does not work pretty much all button accelerators in
> > the client are broken... This was the case for me with the previous
> > version...
> 
> Do you have any ideas why the old version didn't work for you?

Ohhhhh.... :)
I don't think that I have ever known that you had to hold Alt/Meta down
for the accelerators to work... So - the old version did work... :}
I guess you want the new accelerators to use Alt/Meta too?
Is this documented any place a newbie would look?

/Daniel

-- 
Now take a deep breath, smile and don't take life so seriously... :)


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