fix Gtk var name

This commit is contained in:
Denis Fomin 2013-02-14 20:26:50 +04:00
parent 6f2935ba4e
commit 210f1acd51
1 changed files with 1 additions and 1 deletions

View File

@ -1623,7 +1623,7 @@ class ChatControl(ChatControlBase):
self.handlers[id_] = widget
self.dtmf_window = self.xml.get_object('dtmf_window')
self.dtmf_window.get_child().set_direction(gtk.TEXT_DIR_LTR)
self.dtmf_window.get_child().set_direction(Gtk.TextDirection.LTR)
id_ = self.dtmf_window.connect('focus-out-event',
self.on_dtmf_window_focus_out_event)
self.handlers[id_] = self.dtmf_window