View Single Post
Old October 8th, 2006  
AqD
A Carafe of Ubuntu
 
Join Date: Aug 2006
Beans: 101
Re: Mac-style Menu Bar for GTK and Java/Swing applications!

Quote:
Originally Posted by Rob2687 View Post
Well it's been 12 hours as of this post so it's either tonight or tommorrow morning already.
I was playing et last night anyway it's done now

Panel applet for gnome 2.16:



Source and data files: http://aur.archlinux.org/packages.ph...ails=1&ID=7070

Binary builds for i686 are there => http://people.os-zen.net/aqd/repository/ (you need gtk2-aqd and gnome-macmenu-applet)

They're arch linux packages (.tar.gz) but should also work for other distros. To install, first make sure you already have gtk+ 2.10 and gnome, then untar the .tar.gz files and copy all non-dotfiles. If you install to a different gnome location, remember to change the line#3 "location="/opt/gnome/libexec/gnome-macmenu-applet" in opt/gnome/lib/bonobo/servers/GNOME_MacMenuApplet.server (for gtk+ 2.8, see the first post for patch, or use others' dapper packages)

To move or remove the applet, move mouse pointer to the rightmost place of the menubar, where you will see something appearing like a flat button, then left-click on it (don't release button until you select the menu item)

right-click for panel menu works only when there is no focused window.

Problems and solutions:
  1. GNOME/GTK2 apps' menubars cannot be restored to the original state once you use this applet. However, they wouldn't die even if the applet/panel crashes - restarting gnome-panel will catch them back.
  2. After you restart the panel, the menubar of currently active window may not be visible, unfocus/focus (or shade/unshade) the main window will make it appear again
  3. Restarting metacity may cause some menubars to disappear - restarting gnome-panel will solve this
  4. If your application crashes when the applet/panel quits, use my latest gtk2 patch/binary (for gtk 2.10 and 2..

Cheers!

Edit: the links provided in this post are not valid any longer.

Last edited by bapoumba; October 28th, 2007 at 05:39 AM.. Reason: Additional Info.
AqD is offline   Reply With Quote