Date: Mon, 4 Oct 2004 15:24:57 +0200 From: Stefano Zacchiroli To: lablgtk at kaba.or.jp Subject: Re: overriding text view keyboard shortcut Message-ID: <20041004132457.GA8305 at fistandantilus.takhisis.org> References: <20041004092801.GA5587 at fistandantilus.takhisis.org> <20041004.122642.59485931.oandrieu at nerim.net> <20041004115518.GA6382 at fistandantilus.takhisis.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041004115518.GA6382 at fistandantilus.takhisis.org> On Mon, Oct 04, 2004 at 01:55:18PM +0200, Stefano Zacchiroli wrote: > I've copied and modified the gtkrc you suggest and added it with > GtkMain.Rc.add_default_file, but still c-a binds to the select-all > signal instead of move-cursor as specified in my gtkrc. Solved! The problem was that GtkMain.Rc.add_default_file should be called before GtkMain.Main.init, but I was linking gtkInit.cmo. Avoiding linking it and esplicitely call first add_default_file and then init all works properly. Thanks again, Cheers. -- Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/ If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. -!-