Removed handling of control+v from default pageview handler that was only used in places where it shouldn't (dashboard)

This commit is contained in:
Doug Blank 2013-12-26 15:08:08 -05:00
parent a6e4bf9cc5
commit c66e4b0149

View File

@ -214,12 +214,6 @@ class PageView(DbGUIElement):
special control characters, like control+c (copy) or control+v special control characters, like control+c (copy) or control+v
(paste). (paste).
""" """
if self.active:
if event.type == Gdk.EventType.KEY_PRESS:
if (event.keyval == Gdk.KEY_v and
(event.get_state() & Gdk.ModifierType.CONTROL_MASK)):
self.call_paste()
return True
return False return False
def copy_to_clipboard(self, objclass, handles): def copy_to_clipboard(self, objclass, handles):