/usr/share/pyshared/musiclibrarian/toplevel.py is in musiclibrarian 1.6-2.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # toplevel.py
# Copyright 2004 Daniel Burrows
#
# This module just provides a global place to store top-level windows.
# When all top-level windows are removed, the worl^H^H^H^Hprogram
# ends.
import gtk
import sets
toplevel=sets.Set()
def add(w):
toplevel.add(w)
def remove(w):
toplevel.remove(w)
if len(toplevel)==0:
gtk.main_quit()
|