[Nautilus-list] Re: Trying to get custom Bonobo tool bar controls & standard buttons to match appearance
- From: "John Sullivan" <sullivan eazel com>
- To: ty <tyronea_2000 yahoo com>
- Cc: nautilus <nautilus-list lists eazel com>
- Subject: [Nautilus-list] Re: Trying to get custom Bonobo tool bar controls & standard buttons to match appearance
- Date: Thu, 07 Dec 2000 09:20:27 -0800
Title: Re: Trying to get custom Bonobo tool bar controls & standard buttons to match appearance
Hi Ty,
I agree that the right-click menus on the Back and Forward buttons in Nautilus are pretty lame as they are. They work fine and are easy enough to use if you know they're there, but they are hard to discover, as you point out. Most web browsers have some variation on this feature that's more easily discoverable, and Nautilus should too. However, it's very unlikely that we'll have time to improve this before the first release of Nautilus, since there are too many other higher-priority issues that still need addressing first. (It's probably not really hard to implement a more discoverable approach like the one you outline, but it isn't trivial either.) I'll put a bug in our bug system about the failings of the current back/forward menus.
Thanks for the input,
John
on 12/6/00 5:22 PM, ty at tyronea_2000 yahoo com wrote:
John,
attached are 3 files (pushdown.jpg, pushdown2.jpg, pushdown3.jpg) illustrating some of the MFC pull down menu controls. it'd be nice if bonobo could do this... because right clicking to get the pop up menu isn't friendly and not user intuitive.
pushdown.jpg - pressing the back button depresses the back button and back menu control.
pushdown2.jpg - pressing the back menu control depresses the back menu control only and gives a pop up menu of previous URIs.
pushdown3.jpg - right clicking on the back button and back menu control and gives a pop up menu of previous URIs.
-ty
John Sullivan <sullivan eazel com> wrote:
In the Nautilus tool bar are Back and Forward buttons. These buttons are
intended to look and act exactly like other tool bar buttons, with one
difference: right-clicking on them gives a pop-up menu.
I could find no way to get access to the right-click event with a normal
Bonobo tool bar item, so I made a control and embedded within it my own
widget. I made my widget be a BonoboUIToolbarButtonItem, so that I could
share as much code as possible with standard Bonobo tool bar items, and
thus minimize differences.
This works pretty well, but one place where it fails is in the
BonoboUIToolbarItemStyle. My widget doesn't have this style set when the
standard tool bar buttons do, and I haven't found any way for my widget
to determine what style is used by standard tool bar buttons. And when
the style changes (e.g. when a dragged-off tool bar is made ver! tical),
my widget doesn't react.
Perhaps there's already the right mechanism in here for me to hook into,
but I just didn't notice it? Or is this a known design problem in
Bonobo, where controls don't get notified/updated the way standard tool
bar buttons do?
Unless there's a way to do this that I didn't realize, my plan is to
duplicate enough logic to get the initial style right, and punt on the
fact that style changes in the lifetime of the tool bar won't affect my
widget.
John
_______________________________________________
gnome-components-list mailing list
gnome-components-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-components-list
Do You Yahoo!?
Yahoo! Shopping <http://shopping.yahoo.com/> - Thousands of Stores. Millions of Products.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]