TypeError: GObject.__init__() takes exactly 0 arguments (1 given); see mailing list (Benny)
svn: r20691
This commit is contained in:
parent
a34af94a40
commit
7deae0a996
@ -694,7 +694,7 @@ class PluginTrace(ManagedWindow):
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
class LinkTag(Gtk.TextTag):
|
class LinkTag(Gtk.TextTag):
|
||||||
def __init__(self, link, buffer):
|
def __init__(self, link, buffer):
|
||||||
GObject.GObject.__init__(self, link)
|
GObject.GObject.__init__(self, name=link)
|
||||||
tag_table = buffer.get_tag_table()
|
tag_table = buffer.get_tag_table()
|
||||||
self.set_property('foreground', "#0000ff")
|
self.set_property('foreground', "#0000ff")
|
||||||
self.set_property('underline', Pango.Underline.SINGLE)
|
self.set_property('underline', Pango.Underline.SINGLE)
|
||||||
|
Loading…
Reference in New Issue
Block a user