Closed Bug 444218 Opened 16 years ago Closed 16 years ago

Show/Hide the Side Navigation Controls

Categories

(Firefox for Android Graveyard :: General, enhancement)

Other
Maemo
enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mfinkle, Assigned: mfinkle)

References

Details

Attachments

(1 file, 1 obsolete file)

bug 436068 landed the basic urlbar and sidebar for navigation controls. The sidebar still needs to slide in & out as per design, but we need some underlying panning code to help implement that.

This bug is to allow the user to manually (without panning help) show and hide the sidebar controls using the F4 key (application menu hard button on the n8x0)
Attachment #328578 - Flags: review?(gavin.sharp)
Comment on attachment 328578 [details] [diff] [review]
v1 hides and shows the sidebar using F4

>diff --git a/chrome/content/browser.js b/chrome/content/browser.js

>     switch (cmd) {
>+      case "cmd_menu":
>+        controls.collapsed = controls.collapsed ? false : true;

I find controls.collapsed = !controls.collapsed easier to read.
Attachment #328578 - Flags: review?(gavin.sharp) → review+
Made review changes and found a bug
Assignee: nobody → mark.finkle
Attachment #328578 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #328602 - Flags: review?(gavin.sharp)
Attachment #328602 - Flags: review?(gavin.sharp) → review+
changeset:   44:15166cd856a8
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
verified with beta3
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: