Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/widgets.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-05-02 10:53:17 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-05-02 10:53:17 (GMT)
commitb5d73e8fd2584e51954ba5d722b3907461c5dee9 (patch)
tree38f6ef8fcfcc00475f245769de0436c39bae1bc3 /widgets.py
parente87d9e0a7ea6932485d704dc02b272659ad3b7d1 (diff)
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 <gonzalo@laptop.org>
Diffstat (limited to 'widgets.py')
-rw-r--r--widgets.py4
1 files changed, 4 insertions, 0 deletions
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):