Closed Bug 417695 Opened 17 years ago Closed 17 years ago

Treeview headers should be painted with button in the middle of the header

Categories

(Core :: Widget: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9beta4

People

(Reporter: ispence, Assigned: ispence)

Details

Attachments

(1 file, 1 obsolete file)

In some gtk engines, the first button and the last button are painted differently (usually with a highlight). This highlight can make the buttons look disconnected Since gtk does not have some special way of painting each header, we actually need to add two more column headers and paint with the middle one. The attached patch adds this. Asking for review even though I know I should probably rename the local variables to something more descriptive
Assignee: nobody → ispence
Status: NEW → ASSIGNED
Attachment #303507 - Flags: superreview?(roc)
Attachment #303507 - Flags: review?(roc)
Attachment #303507 - Flags: superreview?(roc)
Attachment #303507 - Flags: superreview+
Attachment #303507 - Flags: review?(roc)
Attachment #303507 - Flags: review+
Attachment #303507 - Flags: approval1.9?
Ian, want to go with this as-is or rename the variables?
Attachment #303507 - Flags: approval1.9? → approval1.9+
Ian, either just added checkin-needed or attach an updated patch and add checkin-needed, please. :)
I'll get a patch posted tonight :)
Updated to make more sense to anyone reading the code
Attachment #303507 - Attachment is obsolete: true
Keywords: checkin-needed
Checking in widget/src/gtk2/gtk2drawing.c; /cvsroot/mozilla/widget/src/gtk2/gtk2drawing.c,v <-- gtk2drawing.c new revision: 1.81; previous revision: 1.80 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9beta4
Backed this out to see if it's the cause of the Tp2 regression on Linux.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This wasn't it. I'll reland this soon.
Keywords: checkin-needed
Relanded. Checking in widget/src/gtk2/gtk2drawing.c; /cvsroot/mozilla/widget/src/gtk2/gtk2drawing.c,v <-- gtk2drawing.c new revision: 1.84; previous revision: 1.83 done
Status: REOPENED → RESOLVED
Closed: 17 years ago17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: