On Wed, 2013-02-27 at 08:54 +1100, Jason Heeris wrote:

> On 27 February 2013 07:43, Ted Gould <[email protected]> wrote:
> > For GTK+ applications to export their menu items they need to load the
> > appmenu-gtk module.  That's done by the environment variable
> > UBUNTU_MENUPROXY which is set to libappmenu.so.  That should have the
> > various applications export their menus.
> 
> I think there's more needed. Under Unity, running the attached Python
> script from a terminal gives me some results:
> 
> --
> $ ./hud.py
> File &gt; <b>Open</b> Tab
> File &gt; <b>Open</b> Terminal
> dropbox &gt; <b>Open</b> Dropbox Folder
> View &gt; Zoom <b>Out</b>
> Terminal &gt; Set Character Encoding &gt; Add <b>or</b> Remove…
> --
> 
> Under Gnome, I get nothing back, even though:
> 
> --
> $ echo $UBUNTU_MENUPROXY
> libappmenu.so
> --



Are you setting the environment variable in the session, or in that
terminal?  It would need to be set for all applications before they
startup.


> I'm interested in the libhud-client library though. Is it able to be
> used via GObject introspection? And is there any documentation
> available?


It will be when it hits the archive.  Currently we're getting it to that
state in this branch:

  http://code.launchpad.net/~indicator-applet-developers/hud/phablet

It's already building the introspection data.

Ted

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
ubuntu-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel

Reply via email to