Update of /cvsroot/freevo/freevo/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8269

Modified Files:
        theme_engine.py 
Log Message:
make sure font is set

Index: theme_engine.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/gui/theme_engine.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** theme_engine.py     7 Sep 2004 18:51:39 -0000       1.5
--- theme_engine.py     14 Sep 2004 20:07:56 -0000      1.6
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.6  2004/09/14 20:07:56  dischi
+ # make sure font is set
+ #
  # Revision 1.5  2004/09/07 18:51:39  dischi
  # internal colors are now lists, not int
***************
*** 487,491 ****
              try:
                  self.font = font_dict[self.font]
!             except (TypeError, KeyError, AttributeError):
                  pass
          if color_dict:
--- 490,496 ----
              try:
                  self.font = font_dict[self.font]
!             except (TypeError, KeyError):
!                 self.font = font_dict['default']
!             except AttributeError:
                  pass
          if color_dict:



-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to