Closed GoogleCodeExporter closed 9 years ago
Yes, I was aware of this. One possible option to fix this is (if the GNOME folks
approved) to include this menu in the the main "Applications-Places-System"
menu. The
code is such that is very easy to do (in fact I have done this during
development).
Original comment by bertol...@gmail.com
on 25 Mar 2007 at 5:53
If I understand your code correctly, you put a menu bar in the panel and the
menu bar
in many themes is rendered with a border. Right?
In that case couldn't you just use a different widget in the panel, e.g. an
event box
containing a hbox containing an image and a label? Then connect to the
"button-press-event" of the event box and differentiate between right and left
buttons to decide which menu to show.
Original comment by osmo...@gmail.com
on 25 Mar 2007 at 7:17
Yep, that's right. I wasn't aware that menubars are is rendered differently on
different themes. I went with a menu bar originally because that what the gnome
main
menu uses, but by golly they do a lot of tricky stuff to make it behave and
look as
it does.
The event box is definitely one possible option.
Original comment by bertol...@gmail.com
on 26 Mar 2007 at 8:51
OK, so I figured out how to get rid of the borders (thanks to Vincent Untz).
Now I
just have to catch the mouse right click (so i can ignore it) and have the
applet
menu pop up that way. Then I can get rid of the applet handle bar.
Original comment by bertol...@gmail.com
on 15 May 2007 at 9:37
Update. After not looking at this issue for a long time i came back to it
yesterday
and made good progress. The size allocation, background and orientation are all
working correctly now (like the main menu bar). Now I have to deal with
catching the
right click to pop-up the menu.
Original comment by bertol...@gmail.com
on 31 Aug 2007 at 2:25
Fixes for handling panel changes are in the 0.5.3 release.
Original comment by bertol...@gmail.com
on 24 Oct 2007 at 11:00
OK!!! Finally got the applet context menu to popup on right clicks. The menu
pops up
in no quite the right place though, so I wont close this yet..
Original comment by bertol...@gmail.com
on 4 Apr 2008 at 2:24
Made the menu popup in the right place by "appropriating" a function from the
gnome-panel.
Closed!
Original comment by bertol...@gmail.com
on 4 Apr 2008 at 4:59
Original issue reported on code.google.com by
osmo...@gmail.com
on 25 Mar 2007 at 5:34Attachments: