summaryrefslogtreecommitdiff
path: root/backend/ps/ev-spectre.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-22 23:39:51 +0100
committerStefano Karapetsas <[email protected]>2014-01-22 23:39:51 +0100
commitef8d5d040a91ddb30649d349d3226d4a1e2efcf0 (patch)
tree20a8921c632eef43b66fee3f852c9e6dddb32eb7 /backend/ps/ev-spectre.h
parentead0bbb5d787dfdc15f18d0245b308d239c4679f (diff)
downloadatril-ef8d5d040a91ddb30649d349d3226d4a1e2efcf0.tar.bz2
atril-ef8d5d040a91ddb30649d349d3226d4a1e2efcf0.tar.xz
toolbar-editor: Fix dragging items out of the toolbar
When 'window-dragging' is True, GtkToolbar starts a drag in the 'button-press-event'. By connecting a callback to 'button-press-event' after setting gtk_drag_source_set that return TRUE we prevent GtkToolbar handler to be called. https://git.gnome.org/browse/evince/commit/?h=gnome-3-0&id=c48141968a2b374fe7a666feaf2635a82a528dac
Diffstat (limited to 'backend/ps/ev-spectre.h')
0 files changed, 0 insertions, 0 deletions