IconView doesn't use default font

Bug #562845 reported by Andrew
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dash
Fix Committed
Undecided
Unassigned

Bug Description

The IconView does not use the users default font, it is currently set as an arbitrary value (lines 127 & 128 IconView.cs)

The problem stems from line 126, when obtaining the pango context. Using the method using on line 126 gives us a context but it does not contain the information for the default font.

Attached is a patch for trunk which addresses this problem by obtaining the context of a dummy gtk.IconView. This means the font is now correct.

Revision history for this message
Andrew (and471) wrote :
Changed in dashfilebrowser:
status: New → In Progress
Revision history for this message
K900 (k0009000) wrote :

In fact, we know about the issue. Though, thanks for the idea as I'm not a GTK hacker, really. In fact, we do need one =)

Revision history for this message
Andrew (and471) wrote :

Sorry does that mean the patch is okay or not? :-)

Revision history for this message
Danielle Foré (danrabbit) wrote :

Andrew,

I'm not sure if k-9 has checked it out yet as it's not yet merged into trunk, but I will look at it when I get home (currently out and about) and let you know ;)

Revision history for this message
Andrew (and471) wrote :

Ah sorry, I thought you and K-9 were the same person for some reason :-)

Revision history for this message
Andrew (and471) wrote :

K-9 committed it, problem solved :-)

Changed in dashfilebrowser:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.