[Dicson] ellipsize plugins homepage button. Fixes #6025

This commit is contained in:
Yann Leboulanger 2010-11-01 14:35:32 +01:00
parent a40bacaced
commit ebde7d4333
2 changed files with 2 additions and 1 deletions

View File

@ -174,7 +174,6 @@
<property name="xalign">0</property>
</object>
<packing>
<property name="expand">False</property>
<property name="position">1</property>
</packing>
</child>

View File

@ -105,6 +105,8 @@ 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.ELLIPSIZE_END)
self.plugin_homepage_linkbutton.set_uri(plugin.homepage)
self.plugin_homepage_linkbutton.set_label(plugin.homepage)
self.plugin_homepage_linkbutton.set_property('sensitive', True)