diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2008-05-14 01:27:13 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2008-05-14 01:27:13 +0400 |
commit | 005cc0770e905d05fe13b8e5d22acca2b354cb6e (patch) | |
tree | 2370501007aee932585b498405c3075c8e944046 | |
parent | b7eff5b22d77c29effe10cbe45a5ae7a54e18ce9 (diff) |
fix indentation
-rw-r--r-- | src/message_window.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/message_window.py b/src/message_window.py index f84a2a9c4..1114bffc2 100644 --- a/src/message_window.py +++ b/src/message_window.py @@ -231,7 +231,7 @@ class MessageWindow(object): # Add notebook page and connect up to the tab's close button xml = gtkgui_helpers.get_glade('message_window.glade', 'chat_tab_ebox') tab_label_box = xml.get_widget('chat_tab_ebox') - widget = xml.get_widget('tab_close_button') + widget = xml.get_widget('tab_close_button') id = widget.connect('clicked', self._on_close_button_clicked, control) control.handlers[id] = widget @@ -610,7 +610,7 @@ class MessageWindow(object): del gajim.last_message_time[acct][old_jid] def change_thread_key(self, jid, acct, old_thread_id, new_thread_id): - '''Change the thread_id key of a control''' + '''Change the thread_id key of a control''' try: # Check if control exists ctrl = self._controls[acct][jid][old_thread_id] @@ -924,7 +924,7 @@ class MessageWindowMgr(gobject.GObject): def create_window(self, contact, acct, type, resource = None): win_acct = None win_type = None - win_role = None # X11 window role + win_role = None # X11 window role win_key = self._mode_to_key(contact, acct, type, resource) if self.mode == self.ONE_MSG_WINDOW_PERACCT: @@ -1088,7 +1088,7 @@ class MessageWindowMgr(gobject.GObject): else: # Stash current size so it can be restored if the MessageWindow # is not longer embedded - roster_width = w.parent_paned.get_child1().allocation.width + roster_width = w.parent_paned.get_child1().allocation.width gajim.config.set('roster_width', roster_width) while w.notebook.get_n_pages(): |