Philipp Hörist pushed to branch master at gajim / gajim
Commits: 75bfb459 by Philipp Hörist at 2022-10-02T17:08:57+02:00 refactor: ChatListRow: Remove not needed code
row is self, there is no need to translate anything
- - - - -
1 changed file:
- gajim/gtk/chat_list_row.py
Changes:
===================================== gajim/gtk/chat_list_row.py ===================================== @@ -278,11 +278,6 @@ def _on_drag_begin(self, cairo.Format.ARGB32, alloc.width, alloc.height) context = cairo.Context(surface) self.draw(context) - coords = row.translate_coordinates(self, 0, 0) - if coords is None: - return - dest_x, dest_y = coords - surface.set_device_offset(-dest_x, -dest_y) Gtk.drag_set_icon_surface(drag_context, surface)
def _on_drag_data_get(self,
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/75bfb459a8ddfc5997199b76bd3f5b32b...