nodes: 0, module; 1, function_definition; 2, function_name:load_ui_file; 3, parameters; 4, block; 5, identifier:name; 6, expression_statement; 7, expression_statement; 8, expression_statement; 9, return_statement; 10, comment:"""loads interface from the glade file; sorts out the path business"""; 11, assignment; 12, call; 13, identifier:ui; 14, identifier:ui; 15, call; 16, attribute; 17, argument_list; 18, attribute; 19, argument_list; 20, identifier:ui; 21, identifier:add_from_file; 22, call; 23, identifier:gtk; 24, identifier:Builder; 25, attribute; 26, argument_list; 27, attribute; 28, identifier:join; 29, attribute; 30, identifier:name; 31, identifier:os; 32, identifier:path; 33, identifier:runtime; 34, identifier:data_dir
code: def load_ui_file(name):
      """loads interface from the glade file; sorts out the path business"""
      ui = gtk.Builder()
      ui.add_from_file(os.path.join(runtime.data_dir, name))
      return ui