diff options
author | Stefano Karapetsas <[email protected]> | 2014-01-22 23:39:51 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-01-22 23:39:51 +0100 |
commit | ef8d5d040a91ddb30649d349d3226d4a1e2efcf0 (patch) | |
tree | 20a8921c632eef43b66fee3f852c9e6dddb32eb7 /help/C | |
parent | ead0bbb5d787dfdc15f18d0245b308d239c4679f (diff) | |
download | atril-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 'help/C')
0 files changed, 0 insertions, 0 deletions