Closed Bug 262750 Opened 20 years ago Closed 20 years ago

some missing tooltips on the Help toolbar buttons

Categories

(SeaMonkey :: Help Viewer, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: steffen.wilberg, Assigned: steffen.wilberg)

Details

(Keywords: fixed-aviary1.0, Whiteboard: [no l10n impact])

Attachments

(1 file, 1 obsolete file)

The sidebar, home, and zoom buttons have no tooltips.
Attached patch patch (obsolete) — Splinter Review
We already have the strings, so let's use them!

Just the find button has no tooltip string, but that's hidden by default
anyway.
Attached patch untabbifySplinter Review
Attachment #160960 - Attachment is obsolete: true
Attachment #160961 - Flags: review?(mconnor)
Target Milestone: --- → Firefox1.0
Comment on attachment 160961 [details] [diff] [review]
untabbify

>Index: mozilla/toolkit/components/help/content/help.xul
>===================================================================
>RCS file: /cvsroot/mozilla/toolkit/components/help/content/help.xul,v
>retrieving revision 1.1.4.1.2.11
>diff -u -r1.1.4.1.2.11 help.xul
>--- mozilla/toolkit/components/help/content/help.xul	27 Sep 2004 07:07:46 -0000	1.1.4.1.2.11
>+++ mozilla/toolkit/components/help/content/help.xul	4 Oct 2004 01:37:29 -0000
>@@ -148,9 +148,10 @@
>             <toolbarpalette id="HelpToolbarPalette">
> 
>                 <toolbarbutton id="help-sidebar-button"
>-                	class="toolbarbutton-1"
>-                	customizeable="true" label="&sidebarBtn.label;"
>-                	command="Help:ToggleSidebar"/>
>+                    class="toolbarbutton-1"
>+                    customizeable="true" label="&sidebarBtn.label;"
>+                    tooltiptext="&sidebarBtn.tooltip;"
>+                    command="Help:ToggleSidebar"/>
>                 <toolbarbutton id="help-back-button" type="menu-button"
>                         class="browserButton" label="&backButton.label;"
>                         oncommand="if (event.target==this) goBack(); else 

just add the line with the same indenting.  You don't need/want to pick up cvs
blame if you're changing the indenting to be wrong anyway.  ;)

not to harp on it or anything, but the indentation style in the help viewer is
totally wrong by Mozilla standards, and if it wasn't for the "I don't want to
own blame for all of Help" factor I'd probably just change it all myself.

Now, if we're rewriting big chunks of code, it might make sense to adapt to a
much more standardized code formatting to fit with the rest of /toolkit, on a
file-by-file basis.
Attachment #160961 - Flags: review?(mconnor) → review+
Comment on attachment 160961 [details] [diff] [review]
untabbify

Asking for approval-aviary...

So Mike, what's the spacing style?

In toolkit/content/charsetOverlay.xul:
-four spaces per nested element

In toolkit/content/commonDialog.xul:
-two spaces per nested element
-attributes aligned with the one attribute placed on the same line as the
element name
  -if few attributes, all on same line as element

Also:
-indent extra DTDs two spaces?

It appears charsetOverlay.xul is anomalous, but I'd like to be certain.  When
we know what the style is, spacing is easily corrected and sounds like a good
idea for something to do for Help docs and Help viewer code (After Firefox
1.0).
Attachment #160961 - Flags: approval-aviary?
Comment on attachment 160961 [details] [diff] [review]
untabbify

a=asa for aviary checkin.
Attachment #160961 - Flags: approval-aviary? → approval-aviary+
Checked in br & trunk, with the same indentation.
Status: NEW → RESOLVED
Closed: 20 years ago
Keywords: fixed-aviary1.0
Resolution: --- → FIXED
Whiteboard: [no l10n impact]
Just fixed a typo on branch and trunk: The tooltiptext of the
"help-zoom-large-button" is textZoomEnlargeBtn.tooltip, not
textZoomReduceBtn.tooltip.
Flags: review+
Flags: approval-aviary+
Product: Firefox → Toolkit
Target Milestone: Firefox1.0 → ---
Version: 1.0 Branch → unspecified
Product: Toolkit → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: