diff --git a/src/chat_control.py b/src/chat_control.py index 6475aa9cd..2951487d6 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -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