/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: 2012-01-21 22:31:42 UTC
  • mfrom: (5.1.1 eog-raw-tools)
  • Revision ID: edam@waxworlds.org-20120121223142-xrzlappx4kt0t365
update for GTK 3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
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 )