RE: [Libgnome-menu2] Any quick way to check which part of the tree is updated?

2008-11-12 Thread Liu, Raymond
I can see that when tree is changed, With the data we got from the call back function we added by gmenu_tree_add_monitor, we can not know exactly which part of the tree is updated. So if I have retreive part of the contents of the tree and save them into somewhere else, say display on the

[Libgnome-menu2] Any quick way to check which part of the tree is updated?

2008-11-11 Thread Liu, Raymond
Hi I quickly browse through the source code of libgnome-menu2, and I read some of the app code who using this library. I can see that when tree is changed, With the data we got from the call back function we added by gmenu_tree_add_monitor, we can not know exactly which part of

how gnome panel handle submenu and app's show/non-show information?

2008-11-10 Thread Liu, Raymond
Hi My system is ubuntu 8.04 I check the /etc/xdg/menus/applications.menu, I can see that not all the submenu is actually show in the gnome-panel And also not all the app is show in each submenu or category. I can see that in UI interface, I can config which item is show and which is not. But

RE: how gnome panel handle submenu and app's show/non-show information?

2008-11-10 Thread Liu, Raymond
Hi My system is ubuntu 8.04 I check the /etc/xdg/menus/applications.menu, I can see that not all the submenu is actually show in the gnome-panel But where does these show/hide information stores? And I don't see in the desktop file spec or menu spec about this. Where can I find documents on

RE: Any doc or sample code for using Libgnome-menu2 ?

2008-11-10 Thread Liu, Raymond
(lt-gnome-menu-spec-test:26922): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.16.6/gobject/gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function Which version of gnome-menus is this? It should have been fixed with: 2008-04-11 Vincent Untz [EMAIL

Any doc or sample code for using Libgnome-menu2 ?

2008-11-09 Thread Liu, Raymond
Hi I am trying to use libgnome-menu2 for desktop file info retrieve. However I could not find any API reference or sample code on web or in the source package. Can anyone share some information on this to me? I did try to build and run the