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 19:12:03 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Wed, Oct 24, 2001 at 06:46:15PM +0200, Daniel Sjölie wrote:
> 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?

Yes.

> Is this documented any place a newbie would look?

AFAIK this is a convention which even multiple system like Windows,
Amiga, KDE and Gnome agree upon (well partly).

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Like the ad says, at 300 dpi you can tell she's wearing a
  swimsuit. At 600 dpi you can tell it's wet. At 1200 dpi you
  can tell it's painted on. I suppose at 2400 dpi you can tell
  if the paint is giving her a rash."
    -- Joshua R. Poulson


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