Change private method name to reflect the type of emitting object.
svn: r10810
This commit is contained in:
parent
866f2d5f19
commit
47095b4e98
@ -368,7 +368,7 @@ class StyledTextEditor(gtk.TextView):
|
|||||||
False, #editable
|
False, #editable
|
||||||
True, #shortlist
|
True, #shortlist
|
||||||
None) # validator
|
None) # validator
|
||||||
fontface_action.connect('changed', self._on_comboaction_changed)
|
fontface_action.connect('changed', self._on_valueaction_changed)
|
||||||
|
|
||||||
items = FONT_SIZES
|
items = FONT_SIZES
|
||||||
default = StyledTextTagType.STYLE_DEFAULT[StyledTextTagType.FONTSIZE]
|
default = StyledTextTagType.STYLE_DEFAULT[StyledTextTagType.FONTSIZE]
|
||||||
@ -380,7 +380,7 @@ class StyledTextEditor(gtk.TextView):
|
|||||||
True, #editable
|
True, #editable
|
||||||
False, #shortlist
|
False, #shortlist
|
||||||
is_valid_fontsize) #validator
|
is_valid_fontsize) #validator
|
||||||
fontsize_action.connect('changed', self._on_comboaction_changed)
|
fontsize_action.connect('changed', self._on_valueaction_changed)
|
||||||
|
|
||||||
spring = SpringSeparatorAction("spring", "", "", None)
|
spring = SpringSeparatorAction("spring", "", "", None)
|
||||||
|
|
||||||
@ -494,8 +494,8 @@ class StyledTextEditor(gtk.TextView):
|
|||||||
(style, str(value)))
|
(style, str(value)))
|
||||||
self.textbuffer.apply_style(style, value)
|
self.textbuffer.apply_style(style, value)
|
||||||
|
|
||||||
def _on_comboaction_changed(self, action):
|
def _on_valueaction_changed(self, action):
|
||||||
"""Apply a format set by a ComboToolAction type of action."""
|
"""Apply a format set by a ValueAction type of action."""
|
||||||
if self._internal_style_change:
|
if self._internal_style_change:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user