コード例 #1
0
 def __init__ (self, music_list, preferences, parent = None):
     MeasurableOperation.__init__(self)
     self.music_list = music_list
     self.__progress = 0.0
     self.__running = False
     self.parent = parent
     self.__recorder = nautilusburn.Recorder()
     self.__preferences = preferences
コード例 #2
0
 def __init__(self, music_list, preferences, parent=None):
     MeasurableOperation.__init__(self)
     self.music_list = music_list
     self.__progress = 0.0
     self.__running = False
     self.parent = parent
     self.__recorder = nautilusburn.Recorder()
     self.__preferences = preferences
コード例 #3
0
    def __init__(self, music_list, preferences, parent=None):
        MeasurableOperation.__init__(self)
        self.__queue = operations.OperationsQueue()
        self.__queue.listeners.append(self)
        self.__parent = parent
        self.__prog = gtkutil.HigProgress()
        self.__prog.primary_text = _("Writing Audio Disc")
        self.__prog.secondary_text = _("The audio tracks are going to be "
                                       "written to a disc. This operation may "
                                       "take a long time, depending on data "
                                       "size and write speed.")

        self.__prog.connect("destroy-event", self.__on_prog_destroyed)
        self.__prog.cancel_button.connect("clicked", self.__on_cancel)
        self.__prog.close_button.connect("clicked", self.__on_close)
        self.__music_list = music_list
        self.__preferences = preferences
        self.__drive = preferences.drive
        self.__can_start = True
コード例 #4
0
 def __init__ (self, music_list, preferences, parent = None):
     MeasurableOperation.__init__ (self)
     self.__queue = operations.OperationsQueue ()
     self.__queue.listeners.append (self)
     self.__parent = parent
     self.__prog = gtkutil.HigProgress ()
     self.__prog.primary_text = _("Writing Audio Disc")
     self.__prog.secondary_text = _("The audio tracks are going to be "
                                    "written to a disc. This operation may "
                                    "take a long time, depending on data "
                                    "size and write speed.")
                                  
     self.__prog.connect ("destroy-event", self.__on_prog_destroyed)
     self.__prog.cancel_button.connect ("clicked", self.__on_cancel)
     self.__prog.close_button.connect ("clicked", self.__on_close)
     self.__music_list = music_list
     self.__preferences = preferences
     self.__drive = preferences.drive
     self.__can_start = True