Gtk.main()
- #f = file("/dev/stdout", "w")
- #self.save_to_xml(f)
- #f.close
-
-
-
def error_dialog(parent, msg, *args):
log.exception(msg, *args)
err = Gtk.MessageDialog(parent=parent, modal=True, destroy_with_parent=True,
err.run()
err.destroy()
-
def main():
parser = ArgumentParser()
- parser.add_argument('-c', '--config', help='use a non default configuration file')
- parser.add_argument('-d', '--debug', action="store_true", help='Enable debug logging messages')
+ parser.add_argument('-c', '--config', metavar="FILE", help='load mixer project configuration from FILE')
+ parser.add_argument('-d', '--debug', action="store_true", help='enable debug logging messages')
parser.add_argument('client_name', metavar='NAME', nargs='?', default='jack_mixer',
help='set JACK client name')
args = parser.parse_args()