Ethereal-dev: Re: [Ethereal-dev] Toolbar
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
From: "Ulf Lamping" <ulf.lamping@xxxxxx>
Date: Wed, 15 Oct 2003 09:26:03 +0200
Guy Harris <guy@xxxxxxxxxxxx> schrieb am 14.10.03 20:10:52: > > On Tue, Oct 14, 2003 at 01:53:37PM +0200, Ulf Lamping wrote: > > Well, that's exactly what the preference setting "off" will be for ;-) > > (... or should this better be named "none"?) > > Do you even need a preference? Regardless where to catch this information from the user, where else (if not in the preference file) we should save this info permanently? > > There appears to be a small textured area to the left of the toolbar; in > Netscape 4.x, at least, a similarly-textured area can be clicked to > "minimize" the toolbar to the left of which it appears (or dragged to > move the toolbar), although the Netscape one has a small triangle above > the texturing that points down if the toolbar is visible and to the > right if it's minimized, so perhaps the "minimize" option isn't > available in GTK+'s toolbar. > > Qt's toolbar has support for "close buttons" which might offer that > functionality. I haven't looked at what Windows or Aqua offer. > > If it does need a preference, I'm curious whether other applications > offer a "show toolbar"/"add toolbar" option and, if so, where they put > that option. Hmmm, I had a short look at Mozilla 1.4 (as I'm using it), they have that triangles as you said. But this is no thing GTK offers :-( Mozilla also has a preference setting where you can change toolbar style "Show toolbar as" under Edit->Preference->Appearance (icons,text,both). This feature is also supported by GTK. With Mozilla, you would enable/disable a toolbar (they have two of it) by View->Show/Hide->Navigation Toolbar. I think we could use one preference setting for it all and put the "none" setting into this, too. So you will have four options: none,icons,text,both > > > Before this, I have the following questions: > > > > The toolbar icons are 15 seperate files in format .xpm., as that's the > > format GTK1 understands it. Where should these icon files put into? I'm > > currently using the dir /image/toolbar for this. Is this ok, or better > > placed at a gtk/toolbar dir? > > Qt, it appears, can also handle XPM files in buttons; I'd be inclined to > put them in image/toolbar - if we ever support a toolkit that can't > handle XPM, the images we'd need would probably have other suffixes, and > we could put them there as well. > > We should probably consider using the GTK+ stock items when using GTK+ > 2.x (assuming you aren't already doing that). I'm using the stock items from GTK2 (where appropriate), but as they have a different file format (when I remember this correctly .png), which cannot be understood by GTK1, I converted this to the xpm format using the Gimp. The xpm format can be understood from both GTK 1 and 2. Regardless of this preference thing, I would like to include the toolbar files to CVS first (without the preference thing, toolbar style fixed to "icons only") and as a second step thinking about the best way to catch the info from the user and store it in a preference setting. I think it will be easier for you to include this into the CVS tree in this two smaller steps. I will send the files for the first step later today. Regards, ULFL ______________________________________________________________________________ Horoskop, Comics, VIPs, Wetter, Sport und Lotto im WEB.DE Screensaver1.2 Kostenlos downloaden: http://screensaver.web.de/?mc=021110
- Follow-Ups:
- Re: [Ethereal-dev] Toolbar
- From: Guy Harris
- Re: [Ethereal-dev] Toolbar
- Prev by Date: Re: [Ethereal-dev] Ethereal crashed when opening captured file (ERROR tvbuff.c)
- Next by Date: Re: [Ethereal-dev] Toolbar
- Previous by thread: Re: [Ethereal-dev] Toolbar
- Next by thread: Re: [Ethereal-dev] Toolbar
- Index(es):