Closed
Bug 197666
Opened 23 years ago
Closed 22 years ago
<ab[Edit|New]CardDialog.xul>: Convert <window class="dialog"> to <dialog>
Categories
(SeaMonkey :: MailNews: Message Display, defect)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Sebastian, Assigned: Sebastian)
References
Details
Attachments
(1 file, 2 obsolete files)
|
4.67 KB,
patch
|
neil
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
By converting abNewCardDialog and abEditCardDialog from <window...> to
<dialog...> we save some hand rolled functions (like the keyhandling for
VK_ENTER VK_ESCAPE) and remove the dependency to the global dialogOverlay.xul.
Furthermore, the <OK> <Cancel> buttons will show up in the right order if one
does the "sidebar on the right side"-customization trick
(http://mozilla.org/unix/customizing.html). They are reversed now...
| Assignee | ||
Comment 1•23 years ago
|
||
One last question. I included the global.css in both files and left the
inclusion of messenger/skin/dialogs.css in there:
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/dialogs.css" type="text/css"?>
However I could take both out (using modern theme) without any obvious
regressions. Are they both needed or should they be taken out?
(If yes, I will submit a new patch)
| Assignee | ||
Updated•23 years ago
|
Attachment #117383 -
Flags: review?(neil)
| Assignee | ||
Comment 3•23 years ago
|
||
Attachment #117383 -
Attachment is obsolete: true
| Assignee | ||
Updated•23 years ago
|
Attachment #117395 -
Flags: review?(neil)
Comment 4•23 years ago
|
||
Comment on attachment 117395 [details] [diff] [review]
buttons are centered ("buttonpack=center") now again...
-<?xml-stylesheet href="chrome://messenger/skin/dialogs.css" type="text/css"?>
-
and
+<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/dialogs.css" type="text/css"?>
I don't think you meant these.
Attachment #117395 -
Flags: review?(neil) → review-
Comment 5•23 years ago
|
||
To clarify: you should have exactly one stylesheet if possible;
I don't have a problem with using global.css but do check dialog.css first
in case there are some specific rules for that dialog.
| Assignee | ||
Comment 6•23 years ago
|
||
Attachment #117395 -
Attachment is obsolete: true
| Assignee | ||
Updated•23 years ago
|
Attachment #117577 -
Flags: review?(neil)
Updated•23 years ago
|
Attachment #117577 -
Flags: review?(neil) → review+
| Assignee | ||
Updated•23 years ago
|
Attachment #117577 -
Flags: superreview?(sspitzer)
Comment 7•23 years ago
|
||
Comment on attachment 117383 [details] [diff] [review]
convert to <dialog>
Cancelling review on obsolete patch.
Attachment #117383 -
Flags: review?(neil)
Comment 8•22 years ago
|
||
Comment on attachment 117577 [details] [diff] [review]
now only using global.css (dialogs.css is unneccessary in this case as far as I can see)
I just tested this patch with the current trunk. It still applies und works.
Attachment #117577 -
Flags: superreview?(sspitzer) → superreview?(bienvenu)
Updated•22 years ago
|
Attachment #117577 -
Flags: superreview?(bienvenu) → superreview+
Comment 9•22 years ago
|
||
Checking in addrbook/resources/content/abCardOverlay.js;
/cvsroot/mozilla/mailnews/addrbook/resources/content/abCardOverlay.js,v <-- ab
CardOverlay.js
new revision: 1.46; previous revision: 1.45
done
Checking in addrbook/resources/content/abEditCardDialog.xul;
/cvsroot/mozilla/mailnews/addrbook/resources/content/abEditCardDialog.xul,v <--
abEditCardDialog.xul
new revision: 1.17; previous revision: 1.16
done
Checking in addrbook/resources/content/abNewCardDialog.xul;
/cvsroot/mozilla/mailnews/addrbook/resources/content/abNewCardDialog.xul,v <--
abNewCardDialog.xul
new revision: 1.31; previous revision: 1.30
done
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•22 years ago
|
Severity: minor → trivial
Summary: Simplify abNew[Edit]CardDialog → ab[Edit|New]CardDialog.xul: Convert <window class="dialog"> to <dialog>
Updated•22 years ago
|
Summary: ab[Edit|New]CardDialog.xul: Convert <window class="dialog"> to <dialog> → <ab[Edit|New]CardDialog.xul>: Convert <window class="dialog"> to <dialog>
Comment 10•21 years ago
|
||
*** Bug 187361 has been marked as a duplicate of this bug. ***
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•