From e0e19492cd7cce74e12b76b0b69f427b06cf1b57 Mon Sep 17 00:00:00 2001 From: Paul Culley Date: Tue, 27 Nov 2018 18:25:44 -0600 Subject: [PATCH] Change PlaceView drag from whole row to just icon during drag (#695) Fixes #10863 --- gramps/plugins/lib/libplaceview.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/gramps/plugins/lib/libplaceview.py b/gramps/plugins/lib/libplaceview.py index 21f88df22..6730ada6c 100644 --- a/gramps/plugins/lib/libplaceview.py +++ b/gramps/plugins/lib/libplaceview.py @@ -206,16 +206,6 @@ class PlaceBaseView(ListView): self.mapslistlabel.append(lbl) widget.set_label_widget(self.mapslistlabel[-1]) widget.set_icon_name('go-jump') - if self.drag_info(): - self.list.enable_model_drag_source(Gdk.ModifierType.BUTTON1_MASK, - [], - Gdk.DragAction.COPY) - tglist = Gtk.TargetList.new([]) - tglist.add(self.drag_info().atom_drag_type, - self.drag_info().target_flags, - self.drag_info().app_id) - tglist.add_text_targets (0) - self.list.drag_source_set_target_list(tglist) def __create_maps_menu_actions(self): """