From 5027bba6c2c1c7546cfc0eb953de38181b7e4e7b Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 7 Jan 2013 22:37:54 +0100 Subject: Refactor the get_sharedir function, and move datas to a proper data folder --- mat-gui | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mat-gui') diff --git a/mat-gui b/mat-gui index 121db56..be966b0 100755 --- a/mat-gui +++ b/mat-gui @@ -53,7 +53,7 @@ class GUI: self.window.set_title('Metadata Anonymisation Toolkit') self.window.connect('destroy', gtk.main_quit) self.window.set_default_size(800, 600) - self.logo = mat.get_sharedir('mat.png') + self.logo = mat.get_logo() icon = gtk.gdk.pixbuf_new_from_file_at_size(self.logo, 50, 50) self.window.set_icon(icon) @@ -405,7 +405,7 @@ class GUI: handler = mat.XMLParser() parser = xml.sax.make_parser() parser.setContentHandler(handler) - path = mat.get_sharedir('FORMATS') + path = mat.get_formats() with open(path, 'r') as xmlfile: parser.parse(xmlfile) -- cgit v1.3