Skip to content

Commit

Permalink
Use explicit target flags for toolbox dnd.
Browse files Browse the repository at this point in the history
  • Loading branch information
amolenaar committed May 6, 2010
1 parent 0a30864 commit 4e154d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gaphor/ui/toolbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ class Toolbox(gtk.VBox):
TARGET_STRING = 0
TARGET_TOOLBOX_ACTION = 1
DND_TARGETS = [
('STRING', 0, TARGET_STRING),
('text/plain', 0, TARGET_STRING),
('gaphor/toolbox-action', 0, TARGET_TOOLBOX_ACTION)]
('STRING', gtk.TARGET_SAME_APP, TARGET_STRING),
('text/plain', gtk.TARGET_SAME_APP, TARGET_STRING),
('gaphor/toolbox-action', gtk.TARGET_SAME_APP, TARGET_TOOLBOX_ACTION)]

__gsignals__ = {
'toggled': (gobject.SIGNAL_RUN_FIRST,
Expand Down

0 comments on commit 4e154d5

Please sign in to comment.