/gtk/eog-manage-raws

To get this branch, use:
bzr branch http://bzr.ed.am/gtk/eog-manage-raws

« back to all changes in this revision

Viewing changes to src/raw-tools.py

  • Committer: edam
  • Date: 2011-11-01 00:26:24 UTC
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: edam@waxworlds.org-20111101002624-myipi47b2ie6ahum
updated for GTK 3.0

Show diffs side-by-side

added added

removed removed

22
22
 
23
23
# version 0.1
24
24
 
25
 
from gi.repository import GObject, Gtk, Eog, Gio
26
 
import os, re
 
25
from gi.repository import GObject, Gtk, Eog
 
26
import os, re, gio
27
27
 
28
28
class RawToolsPlugin( GObject.Object, Eog.WindowActivatable ):
29
29
 
300
300
 
301
301
                # delete the files
302
302
                for file in files:
303
 
                    Gio.file_parse_name( path + '/' + file ).trash( None )
 
303
                    gio.file_parse_name( path + '/' + file ).trash()
304
304
                    #os.unlink( path + '/' + file )
305
305
 
306
306
                self.update_status( window )