Changeset - dfc81cee7965
[Not reviewed]
default
0 1 0
Drew Perttula - 10 years ago 2015-06-14 15:44:53
drewp@bigasterisk.com
logging
Ignore-this: 94972a363ff58716f078098516ad3b
1 file changed with 5 insertions and 1 deletions:
0 comments (0 inline, 0 general)
light9/editchoicegtk.py
Show inline comments
 
import logging
 
from gi.repository import Gtk
 
from gi.repository import Gdk
 
from rdflib import URIRef
 
log = logging.getLogger('editchoicegtk')
 

	
 
class Local(object):
 
    """placeholder for the local uri that EditChoice does not
 
@@ -50,7 +52,9 @@ class EditChoice(Gtk.HBox):
 
            dtype = selection_data.get_data_type()
 
            if dtype.name() not in ['text/uri-list', 'TEXT']:
 
                raise ValueError("unknown DnD selection type %r" % dtype)
 
            self.resourceObservable(URIRef(selection_data.get_data().strip()))
 
            data = selection_data.get_data().strip()
 
            log.debug('drag_data_received data=%r', data)
 
            self.resourceObservable(URIRef(data))
 
        
 
        self.currentLink.drag_dest_set(
 
            flags=Gtk.DestDefaults.ALL,
0 comments (0 inline, 0 general)