Reveal the palette on right click on an activity icon #409
This commit is contained in:
parent
1e69d8554c
commit
30e67cc226
@ -884,8 +884,11 @@ class CanvasIcon(hippo.CanvasBox, hippo.CanvasItem):
|
||||
return size, size
|
||||
|
||||
def do_button_press_event(self, event):
|
||||
self.emit_activated()
|
||||
return True
|
||||
if event.button == 1:
|
||||
self.emit_activated()
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
def create_palette(self):
|
||||
return None
|
||||
|
Loading…
Reference in New Issue
Block a user