Closed Bug 1246516 Opened 8 years ago Closed 8 years ago

sidebar.css references non-existent chrome://global/skin/toolbar/tbgrip-texture.gif

Categories

(SeaMonkey :: Themes, defect)

defect
Not set
normal

Tracking

(seamonkey2.44 fixed)

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

People

(Reporter: philip.chee, Assigned: shikhar, Mentored)

Details

(Keywords: classic, Whiteboard: [good first bug][gfb][lang=CSS])

User Story

http://mxr.mozilla.org/comm-central/source/suite/themes/classic/communicator/sidebar/sidebar.css?rev=4902a25378de&mark=148-148#146
http://mxr.mozilla.org/comm-central/source/suite/themes/classic/mac/communicator/sidebar/sidebar.css?rev=84ac3c711098&mark=145-145#143

Attachments

(2 files, 1 obsolete file)

Attached image tbgrip-texture.gif
While reviewing Bug 1242188 I noticed that the sidebar.css in classic has this:

> .sbtab-texture {
>   margin: 2px 0px;
>   background: url("chrome://global/skin/toolbar/tbgrip-texture.gif") repeat-y;
>   width: 12px;
>   height: 12px;
> }

But tbgrip-texture.gif doesn't exist. It did exist in the old XPFE SeaMonkey 1.x.

Your mission, Jim, should you decide to accept it is to add back tbgrip-texture.gif to /suite/themes/classic/communicator/sidebar/

And then edit sidebar.css changing:
  background: url("chrome://global/skin/toolbar/tbgrip-texture.gif") 
to:
  background: url("chrome://communicator/skin/sidebar/tbgrip-texture.gif")

The OSX version of sidebar.css also needs to be fixed:
/suite/themes/classic/mac/communicator/sidebar/sidebar.css
Mentor: philip.chee
Whiteboard: [good first bug][gfb][lang=CSS]
(In reply to Philip Chee from comment #0)
> The OSX version of sidebar.css also needs to be fixed:
> /suite/themes/classic/mac/communicator/sidebar/sidebar.css

I'm much happier without it, so please just remove the style rules in the OS X sidebar.css file.
Attached patch Proposed patch for Bug 1246516 (obsolete) — Splinter Review
Assignee: nobody → shikhar
Comment on attachment 8724433 [details] [diff] [review]
Proposed patch for Bug 1246516

Good starting patch!

There is one step missing:

You need to download attachment 8716801 [details]
And then  |hg add| it to:
suite/themes/classic/communicator/sidebar/
Since this is a binary file your patch must use the git format.

Also to get your patch reviewed, you need to set the review flag to [?] and most importantly fill in the "Requestee" textbox.
Thanks for the comment!

I did |hg add| the file to the specified path and its also showing up in the patch. 

How do I generate patches in the git format? I have suitably modified ~/.hgrc to use git format for diffs.
Ooops sorry it's a very small file. Will test this right now.
Attachment #8724433 - Flags: review?(philip.chee)
Comment on attachment 8724433 [details] [diff] [review]
Proposed patch for Bug 1246516

O.K. I totally screwed up. tbgrip-texture.gif does already exist but under suite/themes/classic/communicator/toolbar/

New patch:
1. backout the tbgrip-texture.gif in sidebar. If you are using mercurial queues (mq) you can hg rm the file and then hg qrefresh.

2. In suite/themes/classic/communicator/sidebar/sidebar.css do:
>  .sbtab-texture {
>    margin: 2px 0px;
> -  background: url("chrome://global/skin/toolbar/tbgrip-texture.gif") repeat-y;
> +  background: url("chrome://communicator/skin/toolbar/tbgrip-texture.gif") repeat-y;

3. Your changes to the Mac version of sidebar.css remain valid.
Attachment #8724433 - Flags: review?(philip.chee)
Attachment #8724433 - Attachment is obsolete: true
Attachment #8724695 - Flags: review?(philip.chee)
Comment on attachment 8724695 [details] [diff] [review]
Proposed patch #2 for Bug 1246516

works great!
r=me
Attachment #8724695 - Flags: review?(philip.chee) → review+
Adding the checkin-needed keyword. You should do this if you are not or cannot check this in yourself.
Status: NEW → ASSIGNED
Keywords: checkin-needed
(In reply to Philip Chee from comment #9)
> Adding the checkin-needed keyword. You should do this if you are not or
> cannot check this in yourself.

Thank you so much for guiding me through this.
http://hg.mozilla.org/comm-central/rev/f59c225426eb
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.44
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: