fix but cut paste

This commit is contained in:
Nikos Kouremenos 2006-03-29 16:46:12 +00:00
parent 7cd9b7caf5
commit bbdeaa8768
1 changed files with 1 additions and 1 deletions

View File

@ -594,7 +594,7 @@ def get_state_image_from_file_path_show(file_path, show):
return image
def get_possible_button_event(self, event):
def get_possible_button_event(event):
'''mouse or keyboard caused the event?'''
if event.type == gtk.gdk.KEY_PRESS:
event_button = 0 # no event.button so pass 0