IconView doesn't use default font

Bug #562845 reported by Andrew on 2010-04-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dash
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.

Andrew (and471) wrote :
Changed in dashfilebrowser:
status: New → In Progress
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 =)

Andrew (and471) wrote :

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

Daniel Fore (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 ;)

Andrew (and471) wrote :

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

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  Edit
Everyone can see this information.

Other bug subscribers