Now really uses the selected ISO creator
Fixed a bug when retrieving the configuration data for the burner and the ISO creator
This commit is contained in:
parent
57a6e764a4
commit
ea028d50c3
2 changed files with 15 additions and 5 deletions
|
|
@ -141,23 +141,28 @@ class configuration(GObject.GObject):
|
|||
if linea[:15]=="menu_converter:":
|
||||
self.menu_converter = linea[15:].strip()
|
||||
continue
|
||||
if linea[:7]=="burner:":
|
||||
self.burner = linea[7:].strip()
|
||||
continue
|
||||
if linea[:6]=="mkiso:":
|
||||
self.mkiso = linea[6:].strip()
|
||||
continue
|
||||
if linea[:19]=="subtitle_font_size:":
|
||||
self.subtitles_font_size = int(linea[19:].strip())
|
||||
if linea[:7]=="burner:":
|
||||
self.burner = int(linea[7:].strip())
|
||||
if linea[:6]=="mkiso:":
|
||||
self.mkiso = int(linea[6:].strip())
|
||||
continue
|
||||
config_data.close()
|
||||
except:
|
||||
pass
|
||||
|
||||
return False
|
||||
|
||||
|
||||
def set_disc_type(self,disc_type):
|
||||
|
||||
self.disc_type = disc_type
|
||||
self.emit('disc_type',disc_type)
|
||||
|
||||
|
||||
def save_config(self):
|
||||
|
||||
config_path = os.path.join(os.environ.get("HOME"),".devede")
|
||||
|
|
@ -198,16 +203,19 @@ class configuration(GObject.GObject):
|
|||
except:
|
||||
pass
|
||||
|
||||
|
||||
def append_log(self,data,cr = True):
|
||||
|
||||
self.log+=data
|
||||
if (cr):
|
||||
self.log += "\n"
|
||||
|
||||
|
||||
def clear_log(self):
|
||||
|
||||
self.log = ""
|
||||
|
||||
|
||||
def get_log(self):
|
||||
|
||||
return self.log
|
||||
|
|
@ -453,7 +453,9 @@ class devede_project:
|
|||
for element in final_dependencies:
|
||||
dvdauthor.add_dependency(element)
|
||||
run_window.add_process(dvdauthor)
|
||||
isocreator = devede.mkisofs.mkisofs()
|
||||
|
||||
cv = devede.converter.converter.get_converter()
|
||||
isocreator = cv.get_mkiso()()
|
||||
isocreator.create_iso(data.path, data.name)
|
||||
isocreator.add_dependency(dvdauthor)
|
||||
run_window.add_process(isocreator)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue