Re: Mac-style Menu Bar for GTK and Java/Swing applications!
Quote:
Originally Posted by
BEaSTFX
Can someone please make one thread with all the current necessary files for hardy and explane what exactly to do.I cant read all 200 pages.
I second this...
Re: Mac-style Menu Bar for GTK and Java/Swing applications!
well for 32bits system the install is described in
http://code.google.com/p/gnome2-glob...allingonUbuntu
for 64 bits, you need to compile it by hand, and patch the gtk lib
Felix
Re: Mac-style Menu Bar for GTK and Java/Swing applications!
Quote:
Originally Posted by
kinap
for 64 bits, you need to compile it by hand, and patch the gtk lib
There doesn't seem to be any adequate patches for gtk+ on 64-bit that would allow this to work. Any compile-from-source instructions only go back as far as gutsy.
Re: Mac-style Menu Bar for GTK and Java/Swing applications!
read the last few pages, between me and rainwoodman.
with his help i was able to do it.
and the good part it works
take the instruction on how to patch from that install site.
use the patch file Rainmanwood says, and get his 0.5-devel source, as explained earlier in this thread.
Felix
Re: Mac-style Menu Bar for GTK and Java/Swing applications!
Okey i tried to make my ubuntu like mac but i have problem with the bar
http://img185.imageshack.us/img185/1...shotni4.th.png
It shows the name of the application but doesnt show like File Edit View.How can i fix that?
Re: Mac-style Menu Bar for GTK and Java/Swing applications!
Quote:
Originally Posted by
kinap
Yeah.. That doesnt work. Everything installs without error, but upon restart, broken package error. Its happened to a lot of people, read the comments on that page.
I tried it on Ubuntu Hardy and I can confirm it doesnt work.
Re: Mac-style Menu Bar for GTK and Java/Swing applications!
Hmm i have installed in on my hardy 32 bits without problems, only problem was the 64bits computers.
from that screenshot it looks like you don't have the patched gtklib
you can test the menu's with the test programs in Rainmanwood's 0.5-devel/test/testmenubar
if that works, you are indeed missing the patched gtklib
Felix
Re: Mac-style Menu Bar for GTK and Java/Swing applications!
Quote:
Originally Posted by
BEaSTFX
I'm having the same problem.
Also,
Quote:
Originally Posted by
lxevolution
...
I adjusted the menu background to match the panel background by modyfying ~/.themes/Carbonit/gtk-2.0/Menu-Menubar/menubar.rc and changing all "menubar" at the end of the file to "no-manubar"
Code:
class "GtkMenuBar*" style "no-menubar"
widget_class "*MenuBar.*" style "no-menubar"
widget_class "*Nautilus*.GtkMenuBar*" style "no-menubar"
widget_class "*E*GtkMenuBar*" style "no-menubar"
widget_class "*Gimp*GtkMenuBar*" style "no-menubar"
widget_class "*Firefox*GtkMenuBar*" style "no-menubar"
class "*Panel*" style "no-menubar"
I don't seem to have a file called menubar.rc in ~/.themes/Mac4Lin_GTK_v0.4/gtk-2.0/Menu-Menubar/
Only 7 PNG images.
So i can't get rid of the original menubar.
Re: Mac-style Menu Bar for GTK and Java/Swing applications!
^^^ You prolly only need to use the Mac4Lin MacMenu version instead of the normal Mac4Lin GTK theme
Re: Mac-style Menu Bar for GTK and Java/Swing applications!
Quote:
Originally Posted by
kinap
well onto testing again.
can you tell me what:
@@ -119,6 +175,16 @@
in the patch file mean?
can follow the most of it, but this is unknown to me.
Felix
well i managed to compile it, but i end up with a bunch of new deb files.
what one should i install?
Felix
well i installed them all, logged back in.
and the only thing i see is that my menus in the applications are getting another color, not getting them out on the bar.
and now you test/testmenubar won't do anything anymore.
Hi Felix
Would you grab branches/0.5-yu, compile it on your 64-bit machine, and do the following test:
(suppose you have logged in on tty1 tty2, and your X session is on :0,)
tty1:
export DISPLAY=:0
cd libgnomenu/server
./gnomenu-server
tty2:
cd libgnomenu/server
./gnomenu-call -c Ping -p message -v "ding..ding.."
./gnomenu-call -e Hello &
./gnomenu-call -c Emit -p _event_ -v Hello
and tell me the results?
(something like)
Code:
[rainwoodman server]$ ./gnomenu-call -c Ping -p message -v "ding..ding.."
** Message: <GnomenuGlobalMenu>::cid obtained: 1014
ding..ding..
[rainwoodman server]$ ./gnomenu-call -e Hello &
[1] 21716
** Message: <GnomenuGlobalMenu>::cid obtained: 1015
[rainwoodman server]$ ./gnomenu-call -c Emit -p _event_ -v Hello
** Message: <GnomenuGlobalMenu>::cid obtained: 1016
(null)
[rainwoodman server]$
<command name="Hello" cid="1016"><p name="_event_">Hello</p></command>
[1]+ Done ./gnomenu-call -e Hello
Thanks
Yu