Renamed the visible method to "displayed", introducing a more genuine visible
method.
Added detection of the root window's special name, returning None for the root
window's name.
1#!/usr/bin/env python 2 3""" 4As a script with a space in the name, useful for testing with the desktop.open 5function. 6""" 7 8importos,sys,commands 9 10os.system("kdialog "+"".join(map(commands.mkarg,sys.argv[1:]))) 11 12# vim: tabstop=4 expandtab shiftwidth=4