[Bugs] #3228 UNSP: Labyrint set default font

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Nov 7 12:28:11 EST 2011


#3228: Labyrint set default font
------------------------------------------+---------------------------------
    Reporter:  earias                     |          Owner:  garycmartin                
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Labyrinth                  |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------

Comment(by earias):

 --- a/labyrinthactivity.py
 +++ b/labyrinthactivity.py
 @@ -219,7 +219,9 @@ class TextAttributesToolbar(gtk.Toolbar):
              pango_font = pango.FontDescription(font.get_name())
              font_name = pango_font.to_string()
              fonts_combo_box.append_text(font_name)
 -            if font_name == 'Times New' or font_name == 'Times New
 Roman':
 +            if font_name == 'Times New' or \
 +                   font_name == 'Times New Roman' or \
 +                   font_name == 'Sans':
                  index_tnr = index
          if index_tnr == -1:
              fonts_combo_box.set_active(0)

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3228#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list