diff options
-rw-r--r-- | NEWS | 12 | ||||
-rw-r--r-- | toolbar.py | 4 |
2 files changed, 10 insertions, 6 deletions
@@ -1,13 +1,15 @@ +* Use a logger for the toolbar (uwog) + 28 -* add total page count label -* replace print's with proper logger calls (J.M. Maurer) -* Implement a color button, which respects the cursors context (J.M. Maurer) +* add total page count label (uwog) +* replace print's with proper logger calls (uwog) +* Implement a color button, which respects the cursors context (uwog) 27 -* Make sure the table icon shows up (J.M. Maurer) -* Use ToolComboBoxes for ComboBoxes om the toolbar (J.M. Maurer) +* Make sure the table icon shows up (uwog) +* Use ToolComboBoxes for ComboBoxes om the toolbar (uwog) 25 @@ -26,6 +26,8 @@ from sugar.graphics.toggletoolbutton import ToggleToolButton from sugar.graphics.combobox import ComboBox from sugar.graphics.toolcombobox import ToolComboBox +logger = logging.getLogger('write-activity') + #ick TOOLBAR_ACTIVITY = 0 TOOLBAR_EDIT = 1 @@ -171,7 +173,7 @@ class TextToolbar(gtk.Toolbar): def _font_size_changed_cb(self, combobox): if self._font_size_combo.get_active() != -1: - logger.debug('Setting font size: %d',self._font_sizes[self._font_size_combo.get_active()]) + logger.debug('Setting font size: %d', int(self._font_sizes[self._font_size_combo.get_active()])) self._abiword_canvas.set_font_size(self._font_sizes[self._font_size_combo.get_active()]) def _alignment_changed_cb(self, combobox): |