Closed
Bug 888863
Opened 11 years ago
Closed 11 years ago
Port GTK2 to GTK3 - entry combo box update
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: stransky, Assigned: stransky)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
stransky
:
review+
RyanVM
:
checkin+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #627699 +++
GTK+ 3.0 and GNOME 3 are approaching and we should get Firefox ready for them. This one is about combo box rendering.
Assignee | ||
Comment 1•11 years ago
|
||
Rather minor fix but we may do it, fixes a TODO we left here.
Attachment #770124 -
Flags: review?(karlt)
Assignee | ||
Comment 2•11 years ago
|
||
The original purpose of this bug was incorrect combo box rendering, but it was caused by missing linux theme on my working tree. The comboboxes are rendered correctly in latest trunk, so let's address the TODO here at least.
Summary: Port GTK2 to GTK3 - combo box rendering → Port GTK2 to GTK3 - entry combo box update
Comment 3•11 years ago
|
||
Comment on attachment 770124 [details] [diff] [review]
added combo box entry widget
>- if (GTK_IS_HBOX(buttonChild)) {
>+ if (GTK_IS_BOX(buttonChild)) {
> /* appears-as-list = FALSE, cell-view = TRUE; the button
> * contains an hbox. This hbox is there because ComboBoxEntry
> * inherits from ComboBox which needs to place a cell renderer,
> * a separator, and an arrow in the button when appears-as-list
> * is FALSE. Here the hbox should only contain an arrow, since
> * a ComboBoxEntry doesn't need all those widgets in the
> * button. */
> gtk_container_forall(GTK_CONTAINER(buttonChild),
I think this change is needed in ensure_combo_box_widgets() also.
The comment could do with some updating as ComboBoxEntry doesn't exist in GTK3.
I suggest copying the comment from ensure_combo_box_widgets(), and changing "hbox"s to "box"s.
I don't think the "should only contain an arrow" bit is or was true.
Attachment #770124 -
Flags: review?(karlt) → review+
Assignee | ||
Comment 4•11 years ago
|
||
An updated patch for check-in.
Attachment #775572 -
Flags: review+
Attachment #775572 -
Flags: checkin?
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Updated•11 years ago
|
Attachment #770124 -
Attachment is obsolete: true
Updated•11 years ago
|
Attachment #775572 -
Flags: checkin? → checkin+
Comment 5•11 years ago
|
||
Keywords: checkin-needed
Comment 6•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in
before you can comment on or make changes to this bug.
Description
•