Re: Issues with developer.gnome.org/gnome-devel-demos/3.12/gmenu.py.html



Hi Jürgen

On 2014-08-27 12:26, Jürgen Kleber <jkleber2701 t-online de> wrote:
there are results from Debian Wheezy (stable) i386 and Fedora 20 x86-64
operating systems. In Debian Wheezy
developer.gnome.org/gnome-devel-demos/3.12/gmenu.py (original), gmenu.py
(changed as described in my previous mail), and
developer.gnome.org/gnome-devel-demos/3.12/menubutton.py ran properly
without warnings. In Fedora the original gmenu.py script failed to
display the menu again as it did in Debian Sid amd64 before.
After all, it could be worth while taking a closer look at the methods
Gtk.Application.set_menubar(Gio.Menu) and
Gtk.Application.set_app_menu(Gio.Menu). Why does the first work an
64bit-Systems, but the latter not?

This is a collective reply to your feedback about the GMenu developer documentation.

There seems to be some confusion about the purpose of the GMenu example. The set_app_menu() sets an application menu. Under GNOME Shell, an application menu is a menu linked from the application name in the top bar, as shown in the screenshot at the beginning of the example. To access the menu, click the application name in the GNOME Shell top bar. This is different from the menu passed to set_menubar(), which sets the GMenu as an in-window menu bar. You can find more information about application menus on the GNOME wiki:

https://wiki.gnome.org/HowDoI/ApplicationMenu

The accessibility bus warnings that you described are symptoms of a local configuration problem. You probably need to install a package which provides the necessary D-Bus service for the accessibility service. I do not know which package provides that on Debian, but on Fedora it is at-spi2-core (and it provides the files /usr/share/dbus-1/services/org.a11y.Bus.service)

Good luck!

--
http://amigadave.com/

Attachment: signature.asc
Description: Digital signature



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