Modified the configuration as a singleton, to simplify the creation of new elements
This commit is contained in:
parent
d4ed74ae5f
commit
4e6a269475
6 changed files with 25 additions and 14 deletions
|
|
@ -17,12 +17,13 @@
|
|||
|
||||
from gi.repository import Gtk
|
||||
import os
|
||||
import devede.configuration_data
|
||||
|
||||
class ask_window:
|
||||
|
||||
def __init__(self,config):
|
||||
def __init__(self):
|
||||
|
||||
self.config = config
|
||||
self.config = devede.configuration_data.configuration.get_config()
|
||||
|
||||
def run(self,text,title):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue