Skip to content
Browse files

fixed for urwid 1.0.0

  • Loading branch information...
1 parent ea4e87e commit c4879de77ed90f4623e67c794fa0e768724cbc84 Kelly Anderson committed Sep 22, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 curses/wicd-curses.py
View
4 curses/wicd-curses.py
@@ -241,7 +241,7 @@ def help_dialog(body):
# Don't stop because someone let go of the mouse on the frame
mouse_release = False
for k in keys:
- if urwid.is_mouse_event(k) and k[0] == "mouse release":
+ if urwid.util.is_mouse_event(k) and k[0] == "mouse release":
mouse_release = True
break
if mouse_release :
@@ -883,7 +883,7 @@ def handle_keys(self,keys):
data[4], False)
for k in keys:
- if urwid.is_mouse_event(k):
+ if urwid.util.is_mouse_event(k):
event, button, col, row = k
self.frame.mouse_event( self.size,
event, button, col, row,

1 comment on commit c4879de

Please sign in to comment.
Something went wrong with that request. Please try again.