Accept control-click as an alternative for right-click when the Gdk
backend is Quartz. This is a standard behavior on Macs, since they often have single-button mice or trackpads. svn: r19752
This commit is contained in:
@ -65,6 +65,7 @@ from gui.filtereditor import FilterEditor
|
||||
from gen.ggettext import sgettext as _
|
||||
from DdTargets import DdTargets
|
||||
from gui.plug.quick import create_quickreport_menu, create_web_connect_menu
|
||||
import gui.utils
|
||||
|
||||
#----------------------------------------------------------------
|
||||
#
|
||||
@ -759,7 +760,7 @@ class ListView(NavigationView):
|
||||
else:
|
||||
self.edit(obj)
|
||||
return True
|
||||
elif event.type == gtk.gdk.BUTTON_PRESS and event.button == 3:
|
||||
elif gui.utils.is_right_click(event):
|
||||
menu = self.uistate.uimanager.get_widget('/Popup')
|
||||
#construct quick reports if needed
|
||||
if menu and self.QR_CATEGORY > -1 :
|
||||
|
Reference in New Issue
Block a user