Logo Search packages:      
Sourcecode: lfm version File versions  Download package

def lfm::lfm::Lfm::run (   self  ) 

run application

Definition at line 227 of file lfm.py.

00227                  :
        """run application"""

        while 1:
            self.show()
            oldpanel = self.panels[self.panel].manage_keys()
            if oldpanel < 0:
                if self.prefs.options['save_conf_at_exit']:
                    self.prefs.save()
                if oldpanel == -1:
                    for panel in self.panels:
                        if panel.vfs:
                            vfs.exit(app, panel)
                    return self.panels[self.panel].path
                else:
                    for panel in self.panels:
                        if panel.vfs:
                            vfs.exit(app, panel)
                    return
            # change panel active
            if oldpanel == 0:
                self.panel = 1
            else:
                self.panel = 0


    def get_otherpanel(self):


Generated by  Doxygen 1.6.0   Back to index