Philipp Hörist pushed to branch master at gajim / gajim
Commits:
-
75bfb459
by Philipp Hörist at 2022-10-02T17:08:57+02:00
1 changed file:
Changes:
| ... | ... | @@ -278,11 +278,6 @@ def _on_drag_begin(self, |
| 278 | 278 | cairo.Format.ARGB32, alloc.width, alloc.height)
|
| 279 | 279 | context = cairo.Context(surface)
|
| 280 | 280 | self.draw(context)
|
| 281 | - coords = row.translate_coordinates(self, 0, 0)
|
|
| 282 | - if coords is None:
|
|
| 283 | - return
|
|
| 284 | - dest_x, dest_y = coords
|
|
| 285 | - surface.set_device_offset(-dest_x, -dest_y)
|
|
| 286 | 281 | Gtk.drag_set_icon_surface(drag_context, surface)
|
| 287 | 282 | |
| 288 | 283 | def _on_drag_data_get(self,
|