Originally Posted by
echelon89
how get macmenu applet work with firefox?
and how do I fix the background problem?
Thanks...
As someone already said, Firefox is not supported because it does not use gtk+. Now, as for your problem. First, since you're using a background image for your panel that has rounded corners, you're going to have to cut out a small rectangular section of that to use as the menu's background (make it like... a 5 pixel wide chunk of it). Save it as panel.png in the same folder as your theme's gtkrc file. Then, go into gtkrc and add these lines:
Code:
#################### MENUBAR ###################
style "menubar"
{
fg[NORMAL] = "#000000"
text[NORMAL] = "#000000"
fg[PRELIGHT] = "#404040"
fg[ACTIVE] = "#404040"
fg[INSENSITIVE] = "#DDE4FF"
text[PRELIGHT] = "#DDE4FF"
xthickness = 0
ythickness = 0
engine "pixmap"
{
image
{
function = BOX
state = NORMAL
file = "panel.png"
border = { 0, 0, 0, 0 }
stretch = FALSE
}
image
{
function = BOX
state = ACTIVE
file = "panel.png"
border = { 0, 0, 0, 0 }
stretch = FALSE
}
image
{
function = BOX
state = INSENSITIVE
file = "panel.png
border = { 0, 0, 0, 0 }
stretch = FALSE
}
image
{
function = BOX
state = PRELIGHT
file = "panel.png"
border = { 2, 2, 2, 2 }
stretch = FALSE
}
}
Also, keep in mind that the menu won't show up correctly in any applications that are accessed with either sudo or gksudo, such as synaptic or any instance of sudo gedit or whatever you're using. To fix this, you'll have to copy your .themes folder to /root.
Originally Posted by
SkiesOfAzel
Although i haven't coded anything for 2 years and i have no experience with gtk i will probably try to alter the macmenu applet a little. i might try to combine it with some code from the menu bar applet to give it a default menu. If i get to it and if i succeed , i will post it here but i warn you , don't hold your breath
.
You know, I saw a post of yours about this topic on some website (either compiz or awn, I can't remember), and I meant to bring this up. I, too, have been putting a lot of thought into making a menu for that little label, and I would love to work with you on this project. The main problem I'm facing is thinking of items to actually put into the menu--especially ones that I can actually program, which would exclude things like Hide Others and the Services submenu.
Bookmarks