Bruno Coudoin | 5 Jun 12:55 2004
Picon

stability issue with the gnomecanvas richtext item


I gcompris I am using the richtext gnomecanvas item to display a
description in the menu but it often crashes (tested with CVS
libgnomecanvas).

I often get one of this error:
(gcompris:32351): GLib-GObject-WARNING **: invalid cast from `GdkGCX11'
to `GnomeCanvasRichText'
OR
(lt-gcompris:22781): GLib-GObject-WARNING **: invalid cast from
`GtkTextTagTable' to `GnomeCanvasRichText'

Replacing the richtext by a regular text removes the issue.

Anyone using the richtext item, do you face similar issue.

Bruno.
Dale Wiles | 8 Jun 21:07 2004

Retrieving the stacking order of Gnome Canvas Items.


  I have a GTK app that places a bunch of Canvas Items on to a Gnome
Canvas.  The user can then click on the Items and move them around.
When the Item is clicked on it also raises to the top.

  My problem arises when saving the results of the clickage.  I can
get the X and Y of the Items, but I can't figure out how to get the Z
(stacking order).

  Does anyone know of a way to get the Z of an Item, or get a list
of Items sorted by stacking order?

				      Thanks,
					Dale
_______________________________________________
gnome-devel-list mailing list
gnome-devel-list <at> gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-devel-list
Jean Bréfort | 10 Jun 18:29 2004
Picon

Re: Retrieving the stacking order of Gnome Canvas Items.


Le mar 08/06/2004 à 21:07, Dale Wiles a écrit :
>   I have a GTK app that places a bunch of Canvas Items on to a Gnome
> Canvas.  The user can then click on the Items and move them around.
> When the Item is clicked on it also raises to the top.
> 
>   My problem arises when saving the results of the clickage.  I can
> get the X and Y of the Items, but I can't figure out how to get the Z
> (stacking order).
> 
>   Does anyone know of a way to get the Z of an Item, or get a list
> of Items sorted by stacking order?
> 
> 				      Thanks,
> 					Dale

GnomeCanvasGroup has pointers to the list of its children:

struct _GnomeCanvasGroup {
	GnomeCanvasItem item;

	/* Children of the group */
	GList *item_list;
	GList *item_list_end;
};

the two GList* point to the same list, item_list->data is the bottom
item and item_list_end the top item.
(Continue reading)

Benoit Dejean | 10 Jun 19:57 2004

[libgtop] mountlist behaviour


hello, i'm the new libgtop maintainer. I'm currently checking and
cleaning libgtop. I often have to implement features that have been
announced for a while but not/partially implemented.

e.g glibtop_mountlist(int all_fs) returns a list of mounted
points. if  <at> all_fs is 0/FALSE, then some points have to be excluded.

"The `all_fs' parameter specifies whether information about all
filesystems should be returned; this will include filesystem types
like `autofs' and `procfs'. You should not use this in disk usage 
programs, but it can be useful to get a list of all currently mounted
filesystems."

ignored[] = {
	"proc",
	"procfs",
	"autofs",
	"sysfs",
	"none",
	"devpts",
	"usbdevfs",
         "binfmt_misc"
	}

According to the previous definition, you may know/use filesystem 
(whatever your system is, Linux, *BSD, Solaris, etc) that should be 
added to this ignore list. Thank you.

Regards
(Continue reading)

Reginald Johnson | 10 Jun 23:06 2004
Picon
Picon

Re: [gnome-devel] Re: Autodetect CD


Sean Middleditch wrote:

>
> Reginald Johnson wrote:
>
>> Sean,
>>     Thanks for the help.  I finally just resorted to a thread that
>> routinely checks to see if there is anything in the drive.  Too bad
>> there doesn't appear to be a more elegant solution.
>
>
> Again, use HAL.  It is quite elegant, and Just Works(tm).  Plus, as 
> its ported to new OSs or gets support for new devices, they will also 
> just work.  'Bout as clean and simple as it gets.  You can resort to 
> polling for "legacy" systems that don't have HAL.
> _______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list <at> gnome.org
> http://mail.gnome.org/mailman/listinfo/gnome-devel-list
>
HAL seems to be what I'm looking for, but I Googled, and wasn't able to 
turn up much documentation about how to program to take advantage of 
it.  Do you have any good links to tutorials/examples?

Reggie
Sean Middleditch | 11 Jun 03:39 2004

Re: [gnome-devel] Re: Autodetect CD


On Thu, 2004-06-10 at 17:06 -0400, Reginald Johnson wrote:
> Sean Middleditch wrote:

> HAL seems to be what I'm looking for, but I Googled, and wasn't able to 
> turn up much documentation about how to program to take advantage of 
> it.  Do you have any good links to tutorials/examples?

The best place to ask that would be on the HAL mailing list.  Check out
http://hal.freedesktop.org for the link to subscribe.

> 
> Reggie
> _______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list <at> gnome.org
> http://mail.gnome.org/mailman/listinfo/gnome-devel-list
> 
James Kraetz | 11 Jun 06:39 2004

Re: [gnome-devel] Re: Autodetect CD


Ivman is going to blow away all the other projects. If you want a gui,
check out gnome-volume-manager, but for automagic automounting...

http://ivman.sourceforge.net
(cvs: cvs.sourceforge.net:/cvsroot/ivman)

On Thu, 2004-06-10 at 21:39 -0400, Sean Middleditch wrote:
> On Thu, 2004-06-10 at 17:06 -0400, Reginald Johnson wrote:
> > Sean Middleditch wrote:
> 
> > HAL seems to be what I'm looking for, but I Googled, and wasn't able to 
> > turn up much documentation about how to program to take advantage of 
> > it.  Do you have any good links to tutorials/examples?
> 
> The best place to ask that would be on the HAL mailing list.  Check out
> http://hal.freedesktop.org for the link to subscribe.
> 
> > 
> > Reggie
> > _______________________________________________
> > gnome-devel-list mailing list
> > gnome-devel-list <at> gnome.org
> > http://mail.gnome.org/mailman/listinfo/gnome-devel-list
> > 
> 
> _______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list <at> gnome.org
> http://mail.gnome.org/mailman/listinfo/gnome-devel-list
(Continue reading)

Frederic Crozat | 11 Jun 09:39 2004

Re: [libgtop] mountlist behaviour


Le jeu 10/06/2004 à 19:57, Benoit Dejean a écrit :
> hello, i'm the new libgtop maintainer. I'm currently checking and
> cleaning libgtop. I often have to implement features that have been
> announced for a while but not/partially implemented.
> 
> e.g glibtop_mountlist(int all_fs) returns a list of mounted
> points. if  <at> all_fs is 0/FALSE, then some points have to be excluded.
> 
> "The `all_fs' parameter specifies whether information about all
> filesystems should be returned; this will include filesystem types
> like `autofs' and `procfs'. You should not use this in disk usage 
> programs, but it can be useful to get a list of all currently mounted
> filesystems."
> 
> ignored[] = {
> 	"proc",
> 	"procfs",
> 	"autofs",
> 	"sysfs",
> 	"none",
> 	"devpts",
> 	"usbdevfs",
>          "binfmt_misc"
> 	}

You should add "supermount" to the ignore list, since it is not possible
to get info on supermounted volumes (like free space..).

--

-- 
(Continue reading)

manu aradhya | 11 Jun 11:36 2004
Picon

customizing the keycodes


hi all, while progrmming on custom keyboard i am
trying to change the physical-key-to-keysym mapping.
   From the hardware, keyboard is generating some xy
keycode  before doing any operation on that keycode i
need to map it to my required keysym. For example: if
"A" is pressed then effect need to be equivalent to
down-arrow key.In key-snopper callback i tried to 
change the keyval of GdkEventKey according to my
reqirement but dint work for all the keys. is there
any way to register physical-key-to-keysym translation
table or any idea about mapping. any idea about
this!.iam trying this on GtkFB and on DirectFB too.
                                       thanx    
                                       -manu

________________________________________________________________________
Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/
Luis Villa | 11 Jun 14:02 2004
Picon

Re: [gnome-devel] Re: Autodetect CD


Just a tip, dude- I just spent 3-4 minutes looking at the ivman page and
couldn't find a single description of what ivman /is/.

Luis

On Thu, 2004-06-10 at 23:39 -0500, James Kraetz wrote:
> Ivman is going to blow away all the other projects. If you want a gui,
> check out gnome-volume-manager, but for automagic automounting...
> 
> http://ivman.sourceforge.net
> (cvs: cvs.sourceforge.net:/cvsroot/ivman)
> 
> On Thu, 2004-06-10 at 21:39 -0400, Sean Middleditch wrote:
> > On Thu, 2004-06-10 at 17:06 -0400, Reginald Johnson wrote:
> > > Sean Middleditch wrote:
> > 
> > > HAL seems to be what I'm looking for, but I Googled, and wasn't able to 
> > > turn up much documentation about how to program to take advantage of 
> > > it.  Do you have any good links to tutorials/examples?
> > 
> > The best place to ask that would be on the HAL mailing list.  Check out
> > http://hal.freedesktop.org for the link to subscribe.
> > 
> > > 
> > > Reggie
> > > _______________________________________________
> > > gnome-devel-list mailing list
> > > gnome-devel-list <at> gnome.org
> > > http://mail.gnome.org/mailman/listinfo/gnome-devel-list
(Continue reading)


Gmane