diff options
Diffstat (limited to 'mat-gui')
| -rwxr-xr-x | mat-gui | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -53,7 +53,7 @@ class GUI: | |||
| 53 | self.window.set_title('Metadata Anonymisation Toolkit') | 53 | self.window.set_title('Metadata Anonymisation Toolkit') |
| 54 | self.window.connect('destroy', gtk.main_quit) | 54 | self.window.connect('destroy', gtk.main_quit) |
| 55 | self.window.set_default_size(800, 600) | 55 | self.window.set_default_size(800, 600) |
| 56 | self.logo = mat.get_sharedir('mat.png') | 56 | self.logo = mat.get_logo() |
| 57 | icon = gtk.gdk.pixbuf_new_from_file_at_size(self.logo, 50, 50) | 57 | icon = gtk.gdk.pixbuf_new_from_file_at_size(self.logo, 50, 50) |
| 58 | self.window.set_icon(icon) | 58 | self.window.set_icon(icon) |
| 59 | 59 | ||
| @@ -405,7 +405,7 @@ class GUI: | |||
| 405 | handler = mat.XMLParser() | 405 | handler = mat.XMLParser() |
| 406 | parser = xml.sax.make_parser() | 406 | parser = xml.sax.make_parser() |
| 407 | parser.setContentHandler(handler) | 407 | parser.setContentHandler(handler) |
| 408 | path = mat.get_sharedir('FORMATS') | 408 | path = mat.get_formats() |
| 409 | with open(path, 'r') as xmlfile: | 409 | with open(path, 'r') as xmlfile: |
| 410 | parser.parse(xmlfile) | 410 | parser.parse(xmlfile) |
| 411 | 411 | ||
