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

Re: [Ayatana] appmenu-gtk api for disabling aplication menus



------------ Původní zpráva ------------
Od: Karel "Karlitos" Macha jr. <karlitos@xxxxxxxxx>
Komu: Neil Jagdish Patel<neil.patel@xxxxxxxxxxxxx>,
Kopie:
Předmět: Re: Re: [Ayatana] appmenu-gtk api for disabling aplication menus
Datum: 24.1.2011 11:51:58
----------------------------------------
* On Sun, 2011-01-23 at 22:50 -0600, Ted Gould wrote:
* <snip>
* >
* > You've probably got two choices that are reasonable:
* >
* > You could make a "mock registrar" in DBus that would tell all the
* > applications that there menus are being registered, but then ignoring
* > them. All of them just register to a well-known name in DBus.
* > appmenu-gtk would then think the menus are being used and hide them in
* > the application.
* >
* > Or you could make your own menu module. The way that the appmenus work
* > is that GTK loads a module (appmenu-gtk) which controls the exporting of
* > them over DBus. You could make your own module that just always hid the
* > menus.
*
* The other thing you could do is run unity-panel-service at log in. This
* does the job of loading indicator-appmenu but it has no UI and will
* happily sit through the session in the background.
*
* It's not packaged separately from Unity, though, so you'd need to do
* that to avoid pulling in a bunch of deps.

* Regards,

Hello

Thank you very much for your answers. I am not verry skilled programmer, but I
rather would like to  try to make some small python script than use a workaround
with some indicator running in the background. Is there any documentation so i
can try to make the "mock register" inpython ?
Is this something like :
Net::DBus::Test::MockConnection - Fake a connection to the bus unit  testing
descibed :
http://manpages.ubuntu.com/manpages/gutsy/man3/Net::DBus::Test::MockConnection.3pm.html
??

Greetings K


Karel "Karlitos" Macha jr.