From 1de1d03aea05ab10ecbba06bf56fb63fc6ce135f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 4 Mar 2013 09:21:23 +0530 Subject: [PATCH] ... --- src/calibre/gui2/actions/__init__.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/calibre/gui2/actions/__init__.py b/src/calibre/gui2/actions/__init__.py index b01b9fbfcd..497b23c080 100644 --- a/src/calibre/gui2/actions/__init__.py +++ b/src/calibre/gui2/actions/__init__.py @@ -115,17 +115,21 @@ class InterfaceAction(QObject): def accept_enter_event(self, event, mime_data): ''' This method should return True iff this interface action is capable - of handling the drag event. ''' + of handling the drag event. Do not call accept/ignore on the event, + that will be taken care of by the calibre UI.''' return False def accept_drag_move_event(self, event, mime_data): ''' This method should return True iff this interface action is capable - of handling the drag event. ''' + of handling the drag event. Do not call accept/ignore on the event, + that will be taken care of by the calibre UI.''' return False def drop_event(self, event, mime_data): ''' This method should perform some useful action and return True - iff this interface action is capable of handling the drag event. ''' + iff this interface action is capable of handling the drag event. Do not + call accept/ignore on the event, that will be taken care of by the + calibre UI.''' return False def do_genesis(self):