Modified the configuration as a singleton, to simplify the creation of new elements

This commit is contained in:
Sergio Costas 2014-07-13 21:10:56 +02:00
parent d4ed74ae5f
commit 4e6a269475
6 changed files with 25 additions and 14 deletions

View file

@ -17,14 +17,15 @@
from gi.repository import Gtk
import os
import devede.configuration_data
class add_files:
last_path = None
def __init__(self,config):
def __init__(self):
self.config = config
self.config = devede.configuration_data.configuration.get_config()
self.show_title_options = True
def set_type(self,disc_type):