some more coding standards
This commit is contained in:
parent
cf0b44d7fc
commit
ea7a97b1df
1 changed files with 32 additions and 34 deletions
|
@ -3372,8 +3372,7 @@ class RosterWindow:
|
||||||
# or not
|
# or not
|
||||||
if len(self._last_selected_contact):
|
if len(self._last_selected_contact):
|
||||||
for (jid, account) in self._last_selected_contact:
|
for (jid, account) in self._last_selected_contact:
|
||||||
self.draw_contact(jid, account, selected = True,
|
self.draw_contact(jid, account, selected=True, focus=True)
|
||||||
focus = True)
|
|
||||||
|
|
||||||
def on_roster_window_focus_out_event(self, widget, event):
|
def on_roster_window_focus_out_event(self, widget, event):
|
||||||
# if a contact row is selected, update colors (eg. for status msg)
|
# if a contact row is selected, update colors (eg. for status msg)
|
||||||
|
@ -3381,8 +3380,7 @@ class RosterWindow:
|
||||||
# or not
|
# or not
|
||||||
if len(self._last_selected_contact):
|
if len(self._last_selected_contact):
|
||||||
for (jid, account) in self._last_selected_contact:
|
for (jid, account) in self._last_selected_contact:
|
||||||
self.draw_contact(jid, account, selected = True,
|
self.draw_contact(jid, account, selected=True, focus=False)
|
||||||
focus = False)
|
|
||||||
|
|
||||||
def on_roster_window_key_press_event(self, widget, event):
|
def on_roster_window_key_press_event(self, widget, event):
|
||||||
if event.keyval == gtk.keysyms.Escape:
|
if event.keyval == gtk.keysyms.Escape:
|
||||||
|
|
Loading…
Add table
Reference in a new issue