Closed Bug 1418094 Opened 7 years ago Closed 6 years ago

Migrate statusbar* bindings from m-c to suite/common/bindings/general.xml

Categories

(SeaMonkey :: General, defect)

defect
Not set
major

Tracking

(seamonkey2.56 fixed)

RESOLVED FIXED
seamonkey2.56
Tracking Status
seamonkey2.56 --- fixed

People

(Reporter: stefanh, Assigned: stefanh)

References

Details

Attachments

(2 files, 4 obsolete files)

      No description provided.
Attached patch MIgrate bindings (obsolete) — Splinter Review
I think it makes more sense to have the style rules in communicator.css. Not sure why Kairo put the rules in toolbar.css, maybe because he originally added the binding in toolbar.xml (bug 579731).
Attachment #8929192 - Flags: review?(iann_bugzilla)
Comment on attachment 8929192 [details] [diff] [review]
MIgrate bindings

I've noticed that statusbar and statusbarpanel bindings are going away in bug 1419170 (and also the css in global.css), so I'll include those bindings here as well.
Attachment #8929192 - Flags: review?(iann_bugzilla)
(In reply to Stefan [:stefanh] from comment #3)
> I've noticed that statusbar and statusbarpanel bindings are going away in
> bug 1419170 (and also the css in global.css), so I'll include those bindings
> here as well.

FYI I've pushed up a proposed patch to Bug 1419170 and added some more detail in https://bugzilla.mozilla.org/show_bug.cgi?id=1419170#c6
(In reply to Brian Grinstead [:bgrins] from comment #4) 
> FYI I've pushed up a proposed patch to Bug 1419170 and added some more
> detail in https://bugzilla.mozilla.org/show_bug.cgi?id=1419170#c6

Thanks Brian.
Summary: Migrate statusbarpanel-iconic, statusbarpanel-iconic-text bindings from m-c to suite/common/bindings/general.xml → Migrate statusbar* bindings from m-c to suite/common/bindings/general.xml
Blocks: 1419170
Attached patch Migrate bindings (obsolete) — Splinter Review
Here's a patch that adds all the statusbar* bindings (used by suite) to general.xml. It also moves statusbar* style rules from modern's global.css to communicator.css.
Attachment #8929192 - Attachment is obsolete: true
Attachment #8930677 - Flags: review?(iann_bugzilla)
Attachment #8930677 - Flags: feedback?(frgrahl)
Comment on attachment 8930677 [details] [diff] [review]
Migrate bindings

Go for it. Thanks!
Attachment #8930677 - Flags: feedback?(frgrahl) → feedback+
Comment on attachment 8930677 [details] [diff] [review]
Migrate bindings

Turns out that Richard have a patch in bug 1419179 where he moves statusbar and statusbarpanel bindings to a shared dir in c-c, so I'll wait with this until the move is settled.
Attachment #8930677 - Flags: review?(iann_bugzilla)
Richard, will Thunderbird have any need for the statusbarpanel-iconic and statusbarpanel-iconic-text bindings? If not, I'll put them in /suite/common/bindings/general.xml - there's already a binding there that extends statusbarpanel-iconic-text.
Flags: needinfo?(richard.marti)
TB removed the need of the statusbarpanel-iconic and statusbarpanel-iconic-text bindings. You can put them in your general.xml.
Flags: needinfo?(richard.marti)
This is part1. This patch is similar to attachment #8929192 [details] [diff] [review] - the only difference is that this one use the style rules for statusbarpanel-iconic and statusbarpanel-iconic-text in modern's global.css (moves them to communicator.css).

This patch should be testable without patches from bug 1419179 and bug 1419170 as long as the patch in bug 1419170 doesn't land (the added bindings extends the statusbarpanel binding which is removed in bug 1419170).

I will post part2 soon (which will require the patch in bug 1419179.
Attachment #8931952 - Flags: review?(iann_bugzilla)
This is part2:

Applies on top of attachment #8931952 [details] [diff] [review] and requires Richards patch in bug 1419179 (attachment #8931633 [details] [diff] [review]). For proper testing, apply Brians patch in bug 1419170 (attachment #8930611 [details]) or wait until it has landed.
Attachment #8930677 - Attachment is obsolete: true
Attachment #8931960 - Flags: review?(iann_bugzilla)
Comment on attachment 8931952 [details] [diff] [review]
Migrate statusbarpanel-iconic, statusbarpanel-iconic-text bindings from m-c to suite/common/bindings/general.xml

> +++ b/suite/themes/classic/communicator/communicator.css

> +.statusbarpanel-iconic,
> +.statusbarpanel-iconic-text {
> +  padding: 0 1px;
> +

Missing closing bracket but seems to work well otherwise.
Attachment #8931952 - Flags: feedback+
Comment on attachment 8931960 [details] [diff] [review]
Use the c-c statusbar/statusbarpanel bindings and migrate css

Works but needs to be unbitrotted and refreshed after fixing the closing bracket.
Attachment #8931960 - Flags: feedback+
(In reply to Frank-Rainer Grahl (:frg) from comment #13)
> Comment on attachment 8931952 [details] [diff] [review]
> Migrate statusbarpanel-iconic, statusbarpanel-iconic-text bindings from m-c
> to suite/common/bindings/general.xml
> 
> > +++ b/suite/themes/classic/communicator/communicator.css
> 
> > +.statusbarpanel-iconic,
> > +.statusbarpanel-iconic-text {
> > +  padding: 0 1px;
> > +
> 
> Missing closing bracket but seems to work well otherwise.

Whoops, I'll fix that once Ian have looked at the patches.
See Also: → 1424164
Part 1 updated (comment #13)
Attachment #8931952 - Attachment is obsolete: true
Attachment #8931952 - Flags: review?(iann_bugzilla)
Attachment #8936015 - Flags: review?(iann_bugzilla)
Part 2 refreshed. I also fixed the bracket below (modern/communicator/communicator.css)

+.statusbar-resizerpanel 
+{
Attachment #8931960 - Attachment is obsolete: true
Attachment #8931960 - Flags: review?(iann_bugzilla)
Attachment #8936016 - Flags: review?(iann_bugzilla)
Attachment #8936016 - Attachment description: Part 2: Use the c-c statusbar/statusbarpanel bindings and migrate css. r=IanN. → Part 2: Use the c-c statusbar/statusbarpanel bindings and migrate css
See Also: 1424164
Comment on attachment 8936015 [details] [diff] [review]
Part 1: Migrate statusbarpanel-iconic, statusbarpanel-iconic-text bindings from m-c to suite/common/bindings/general.xml

>+++ b/suite/themes/modern/communicator/communicator.css
>+/* ::::: status bar panels ::::: */
>+
>+.statusbarpanel-iconic {
>+  padding: 0px;
>+}
>+
>+.statusbarpanel-text {
>+  margin: 0px !important;
>+}

Nit: needs an extra blank line here.

>+.statusbarpanel-backgroundbox {
>+  -moz-box-align: stretch;
>+  padding: 0px;
>+}
>+
>+.statusbarpanel-backgroundbox > .statusbarpanel-contentbox {
>+  padding: 0px 4px;
>+  -moz-box-align: center;
>+}

r=me with that fixed.
Attachment #8936015 - Flags: review?(iann_bugzilla) → review+
Comment on attachment 8936016 [details] [diff] [review]
Part 2: Use the c-c statusbar/statusbarpanel bindings and migrate css

r=me
Attachment #8936016 - Flags: review?(iann_bugzilla) → review+
Pushed by stefanh@inbox.com:
https://hg.mozilla.org/comm-central/rev/608854301907
Migrate statusbarpanel-iconic, statusbarpanel-iconic-text bindings from m-c to suite/common/bindings/general.xml. r=IanN.
https://hg.mozilla.org/comm-central/rev/638b68e22577
Use the c-c statusbar/statusbarpanel bindings and migrate css. r=IanN.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Seamonkey2.56
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: