diff options
author | gm10 <[email protected]> | 2019-08-11 22:53:59 +0200 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2019-08-11 23:52:21 -0400 |
commit | f03bd64e19284b73182a32df5435a6d85c027935 (patch) | |
tree | c6448932b5163597bd7ae05bbe353c345b1863aa /Mozo | |
parent | 5534a24bc24424d0484ef71ff5cfb882b3c292c6 (diff) | |
download | mozo-f03bd64e19284b73182a32df5435a6d85c027935.tar.bz2 mozo-f03bd64e19284b73182a32df5435a6d85c027935.tar.xz |
Change DragAction to MOVE
Diffstat (limited to 'Mozo')
-rw-r--r-- | Mozo/MainWindow.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mozo/MainWindow.py b/Mozo/MainWindow.py index 93a9e4c..19635f5 100644 --- a/Mozo/MainWindow.py +++ b/Mozo/MainWindow.py @@ -184,7 +184,7 @@ class MainWindow: column.add_attribute(cell, 'markup', 1) column.set_sizing(Gtk.TreeViewColumnSizing.FIXED) menus.append_column(column) - menus.enable_model_drag_source(Gdk.ModifierType.BUTTON1_MASK, self.dnd_menus, Gdk.DragAction.COPY) + menus.enable_model_drag_source(Gdk.ModifierType.BUTTON1_MASK, self.dnd_menus, Gdk.DragAction.MOVE) menus.enable_model_drag_dest(self.dnd_both, Gdk.DragAction.PRIVATE) menus.get_selection().set_mode(Gtk.SelectionMode.BROWSE) @@ -210,7 +210,7 @@ class MainWindow: items.append_column(column) self.item_store = Gtk.ListStore(bool, GdkPixbuf.Pixbuf, str, object) items.set_model(self.item_store) - items.enable_model_drag_source(Gdk.ModifierType.BUTTON1_MASK, self.dnd_items, Gdk.DragAction.COPY) + items.enable_model_drag_source(Gdk.ModifierType.BUTTON1_MASK, self.dnd_items, Gdk.DragAction.MOVE) items.enable_model_drag_dest(self.dnd_items, Gdk.DragAction.PRIVATE) def _cell_data_toggle_func(self, tree_column, renderer, model, treeiter, data=None): |