/usr/share/pyshared/wimpiggy/pseudoclient.py is in python-wimpiggy 0.0.7.36+dfsg-1.
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 20 21 22 | # This file is part of Parti.
# Copyright (C) 2008, 2009 Nathaniel Smith <njs@pobox.com>
# Parti is released under the terms of the GNU GPL v2, or, at your option, any
# later version. See the file COPYING for details.
import gtk
class PseudoclientWindow(gtk.Window):
"""A gtk.Window that acts like an ordinary client.
All the wm-magic that would normally accrue to a window created within our
process is removed.
Keyword arguments (notably 'type') are forwarded to
gtk.Window.__init__.
The reason this is a separate class, as opposed to say a gtk.Window
factory method on wm, is that this way allows for subclassing."""
def __init__(self, wm, **kwargs):
gtk.Window.__init__(self, **kwargs)
wm._make_window_pseudoclient(self)
|