fix ellipsize in plugin_homepage_linkbutton

This commit is contained in:
Denis Fomin 2013-01-29 23:59:21 +04:00
parent bc3e7d0606
commit ba3bed88be
1 changed files with 2 additions and 2 deletions

View File

@ -134,10 +134,10 @@ class PluginsWindow(object):
self.plugin_name_label.set_text(plugin.name)
self.plugin_version_label.set_text(plugin.version)
self.plugin_authors_label.set_text(plugin.authors)
label = self.plugin_homepage_linkbutton.get_children()[0]
label.set_ellipsize(Pango.EllipsizeMode.END)
self.plugin_homepage_linkbutton.set_uri(plugin.homepage)
self.plugin_homepage_linkbutton.set_label(plugin.homepage)
label = self.plugin_homepage_linkbutton.get_children()[0]
label.set_ellipsize(Pango.EllipsizeMode.END)
self.plugin_homepage_linkbutton.set_property('sensitive', True)
desc_textbuffer = self.plugin_description_textview.get_buffer()