/usr/lib/gdesklets/config/ConfigTitle.py is in gdesklets 0.36.1-5.
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 23 | from ConfigWidget import ConfigWidget
import gtk
class ConfigTitle(ConfigWidget):
def __init__(self, name, getter, setter, caller):
ConfigWidget.__init__(self, name, getter, setter, caller)
def get_widgets(self):
self.__label = gtk.Label("")
self.__label.show()
align = gtk.Alignment(0.0, 1.0, 0.0, 0.0)
align.show()
align.add(self.__label)
return (align,)
def _set_label(self, value): self.__label.set_markup("<b>" + value + "</b>")
|