From b5d73e8fd2584e51954ba5d722b3907461c5dee9 Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Wed, 02 May 2012 10:53:17 +0000 Subject: Use FontComboBox to show font previews - Sans selected by default fix SL #2759 'Times New Roman' was selected by default in AbiWord but the font is not available, then the information in the doc and the font combo was out of sync. Signed-off-by: Gonzalo Odiard --- (limited to 'widgets.py') diff --git a/widgets.py b/widgets.py index b79dbf7..0df2b7e 100644 --- a/widgets.py +++ b/widgets.py @@ -27,6 +27,9 @@ from sugar.datastore import datastore logger = logging.getLogger('write-activity') +""" +# The FontCombo is not used anymore, keep the code here for reference +# for a few versions class FontCombo(ComboBox): @@ -86,6 +89,7 @@ class FontCombo(ComboBox): self.handler_block(self._fonts_changed_id) self.set_active(font_index) self.handler_unblock(self._fonts_changed_id) +""" class FontSizeCombo(ComboBox): -- cgit v0.9.1