Closed Bug 1962243 Opened 7 months ago Closed 5 months ago

Deduplicate code for centering dialogs in cZ

Categories

(SeaMonkey :: Chat, task)

Tracking

(seamonkey2.53+ fixed)

RESOLVED FIXED
Future
Tracking Status
seamonkey2.53 + fixed

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

Details

(Whiteboard: SM2.53.22)

Attachments

(1 file)

At the moment we have similar code in 4 different places for position dialogs central to cZ. We can de-duplicate by adding a helper to utils.js

[Approval Request Comment]
Regression caused by (bug #): n/a
User impact if declined: none
Testing completed (on m-c, etc.): 2.53.22pre
Risk to taking this patch (and alternatives if risky): low
String changes made by this patch: none

Attachment #9480668 - Flags: review?(frgrahl)
Attachment #9480668 - Flags: approval-comm-release?
Whiteboard: SM2.53.22

Comment on attachment 9480668 [details] [diff] [review]
1962243-irc-center-dialog-25322.patch

LGTM r/a+

Wonder if the resize on macOS couldn't be done better but something for later. MIght not be ok with HiDPI but not worse than today.

Attachment #9480668 - Flags: review?(frgrahl)
Attachment #9480668 - Flags: review+
Attachment #9480668 - Flags: approval-comm-release?
Attachment #9480668 - Flags: approval-comm-release+

Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/abd150b4ebd8
Deduplicate code for centering dialogs in cZ. r=frg DONTBUILD

Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: