gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xgnokii xkeyb


From: Pawel Kot
Subject: Re: xgnokii xkeyb
Date: Thu, 16 Feb 2006 23:43:07 +0100

Hi,

On 1/31/06, Daniele Forsi <address@hidden> wrote:
> Pawel Kot wrote:
>
> > xkeyb module
>
> it doesn't work and this reminded me of the non working keyboard in
> xring module
>
>  > Maybe GTK2 transition stopped it to work?
>
> it looks like you're right, according to the tutorial
> "Normally, Fixed widgets don't have their own X window. Since this is
> different from the behaviour of Fixed widgets in earlier releases of
> GTK, the function gtk_fixed_set_has_window() allows the creation of
> Fixed widgets with their own window. It has to be called before
> realizing the widget."
>
> http://www.gtk.org/tutorial/x1279.html
>
> With the following patches both xkeyb and xring would work for me, but
> I'm NOT going to commit them because I don't know if it's the right way
> to do.

I have read few manuals, discussion and hints and it looks for me that
usage of GtkFixed is fine in our case and your fix is indeed fine.
Would you commit it?

thanks,
pkot

> Index: xgnokii/xgnokii_xkeyb.c
> ===================================================================
> RCS file: /sources/gnokii/gnokii/xgnokii/xgnokii_xkeyb.c,v
> retrieving revision 1.17
> diff -u -p -0 -r1.17 xgnokii_xkeyb.c
> --- xgnokii/xgnokii_xkeyb.c     10 Aug 2005 07:33:43 -0000      1.17
> +++ xgnokii/xgnokii_xkeyb.c     30 Jan 2006 22:58:43 -0000
> @@ -285,0 +286 @@ void GUI_CreateXkeybWindow(void)
> +       gtk_fixed_set_has_window(GTK_FIXED(pixArea), TRUE);
>
> Index: xgnokii/xgnokii_xring.c
> ===================================================================
> RCS file: /sources/gnokii/gnokii/xgnokii/xgnokii_xring.c,v
> retrieving revision 1.8
> diff -u -p -0 -r1.8 xgnokii_xring.c
> --- xgnokii/xgnokii_xring.c     15 Jan 2006 15:13:27 -0000      1.8
> +++ xgnokii/xgnokii_xring.c     30 Jan 2006 23:01:36 -0000
> @@ -931,0 +932 @@ void GUI_CreateXringWindow(void)
> +       gtk_fixed_set_has_window(GTK_FIXED(gi.f), TRUE);
>
> --
> Daniele
>
>
> _______________________________________________
> gnokii-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gnokii-users
>


--
Pawel Kot
http://www.gnokii.org/




reply via email to

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