diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-08-19 08:06:31 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-08-19 08:06:31 (GMT) |
commit | d57bb1b20aa123821d1008432620fb316645e34b (patch) | |
tree | a1a93f991bbd3ca84be89006b9a427768574d7bf /src/jarabe/frame/clipboardtray.py | |
parent | 48fce2af17dedbb28213a1e3f935615b1d67d500 (diff) |
Bunch of pylint fixes
Diffstat (limited to 'src/jarabe/frame/clipboardtray.py')
-rw-r--r-- | src/jarabe/frame/clipboardtray.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jarabe/frame/clipboardtray.py b/src/jarabe/frame/clipboardtray.py index 40f0a32..a387328 100644 --- a/src/jarabe/frame/clipboardtray.py +++ b/src/jarabe/frame/clipboardtray.py @@ -153,7 +153,7 @@ class ClipboardTray(tray.VTray): if 'XdndDirectSave0' in context.targets: window = context.source_window - prop_type, format, filename = \ + prop_type, format_, filename = \ window.property_get('XdndDirectSave0','text/plain') # FIXME query the clipboard service for a filename? @@ -165,7 +165,7 @@ class ClipboardTray(tray.VTray): dest_uri = 'file://' + os.path.join(base_dir, dest_filename) - window.property_change('XdndDirectSave0', prop_type, format, + window.property_change('XdndDirectSave0', prop_type, format_, gtk.gdk.PROP_MODE_REPLACE, dest_uri) widget.drag_get_data(context, 'XdndDirectSave0', time) |