some more coding standards

This commit is contained in:
Yann Leboulanger 2008-09-02 20:34:11 +00:00
parent cf0b44d7fc
commit ea7a97b1df
1 changed files with 32 additions and 34 deletions

View File

@ -3372,8 +3372,7 @@ class RosterWindow:
# or not
if len(self._last_selected_contact):
for (jid, account) in self._last_selected_contact:
self.draw_contact(jid, account, selected = True,
focus = True)
self.draw_contact(jid, account, selected=True, focus=True)
def on_roster_window_focus_out_event(self, widget, event):
# if a contact row is selected, update colors (eg. for status msg)
@ -3381,8 +3380,7 @@ class RosterWindow:
# or not
if len(self._last_selected_contact):
for (jid, account) in self._last_selected_contact:
self.draw_contact(jid, account, selected = True,
focus = False)
self.draw_contact(jid, account, selected=True, focus=False)
def on_roster_window_key_press_event(self, widget, event):
if event.keyval == gtk.keysyms.Escape: