removed useless argument
This commit is contained in:
parent
645af4e7b7
commit
d3013cc367
1 changed files with 2 additions and 2 deletions
|
@ -125,7 +125,7 @@ class ChatControlBase(MessageControl):
|
||||||
self.msg_scrolledwindow.add(self.msg_textview)
|
self.msg_scrolledwindow.add(self.msg_textview)
|
||||||
self.msg_textview.connect('key_press_event',
|
self.msg_textview.connect('key_press_event',
|
||||||
self._on_message_textview_key_press_event)
|
self._on_message_textview_key_press_event)
|
||||||
self.msg_textview.connect('size-request', self.size_request, self.xml)
|
self.msg_textview.connect('size-request', self.size_request)
|
||||||
self.update_font()
|
self.update_font()
|
||||||
|
|
||||||
# Hook up send button
|
# Hook up send button
|
||||||
|
@ -554,7 +554,7 @@ class ChatControlBase(MessageControl):
|
||||||
textview.scroll_to_iter(end_iter, 0, False, 1, 1)
|
textview.scroll_to_iter(end_iter, 0, False, 1, 1)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def size_request(self, msg_textview , requisition, xml_top):
|
def size_request(self, msg_textview , requisition):
|
||||||
''' When message_textview changes its size. If the new height
|
''' When message_textview changes its size. If the new height
|
||||||
will enlarge the window, enable the scrollbar automatic policy
|
will enlarge the window, enable the scrollbar automatic policy
|
||||||
Also enable scrollbar automatic policy for horizontal scrollbar
|
Also enable scrollbar automatic policy for horizontal scrollbar
|
||||||
|
|
Loading…
Add table
Reference in a new issue