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
|
return size, size
|
||||||
|
|
||||||
def do_button_press_event(self, event):
|
def do_button_press_event(self, event):
|
||||||
|
if event.button == 1:
|
||||||
self.emit_activated()
|
self.emit_activated()
|
||||||
return True
|
return True
|
||||||
|
else:
|
||||||
|
return False
|
||||||
|
|
||||||
def create_palette(self):
|
def create_palette(self):
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user