Changeset 65

Show
Ignore:
Timestamp:
Tue Jul 12 05:12:08 2005
Author:
fredrikc
Message:

Disabled drop events in tagedit widget as drag & drop of tags are not implemented anyway and might confuse people.

Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/transolution/xliffeditor/gtk_tagedit.py

    r59 r65  
    114 114     def __init__(self,*args,**kwargs):  
    115 115         gtk.TextView.__init__(self,*args,**kwargs)  
      116         # Disable drop events  
      117         self.drag_dest_unset()  
      118  
    116 119         self.connect("copy-clipboard", self.copy_clipboard)  
    117 120         self.connect("cut-clipboard", self.cut_clipboard)  
     
    125 128  
    126 129     def undo(self,*args):  
    127           print "TagEdit undo"  
      130         print "undo"  
    127 130         model = self.getModel()  
    128 131         model.undo()  
    129 132         model.xnotify()  
    130           print "-TagEdit undo"  
    131 133  
    132 134     def redo(self,*args):  
     
    136 138         model.redo()  
    137 139         model.xnotify()  
    138           print "-TagEdit redo"  
    139 140  
    140 141     def cut_clipboard(self,*args):