2012/1/11 Emmanuele Bassi <[email protected]>: > hi Stefano; > > On 10 January 2012 16:50, Stefano Ciancio <[email protected]> wrote: > >>> I find a GLib object (GKeyFile) that would be suitable for this, but I >>> cannot find doc, code, example on how to use it in shell. > >> Anyone can help me? I am googled for some workaround but without success. > > you cannot use GKeyFile from introspection, as the type is not boxed > and gobject-introspection does not know how to handle it. > > you should file a bug against the glib product to ask for a GType for > GKeyFile.
GKeyFile is a ref-counted boxed and thus perfectly usable from gjs, just not in the glib/gobject-introspection that come with gnome 3.2. You can use GKeyFile in a extension if targetting a newer gnome-shell. Giovanni PS: really, sorry, I should have sent this sooner. _______________________________________________ gnome-shell-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-shell-list
