Make URLs & email addrs in about dialog clickable (bz 210782)

This commit is contained in:
Daniel P. Berrange 2006-11-06 10:58:59 -05:00
parent f2a1803eb7
commit 5c113d482a
4 changed files with 15 additions and 1 deletions

View File

@ -16,6 +16,7 @@ Further patches have been submitted by:
William Sheehan <william-dot-sheehan-at-openinterface-dot-com>
Karel Zak <kzak-at-redhat-dot-com>
Damien Durand (splinux25-at-gmail-dot-com)
<...send a patch & get your name here...>

View File

@ -569,7 +569,7 @@ Inactive virtual machines</property>
</property>
<property name="wrap_license">False</property>
<property name="website">http://virt-manager.et.redhat.com/</property>
<property name="website_label" translatable="yes"></property>
<property name="website_label" translatable="yes">http://virt-manager.et.redhat.com/</property>
<property name="authors">Daniel P. Berrange &lt;berrange@redhat.com&gt;
Hugh O. Brock &lt;hbrock@redhat.com&gt;
Máirín Duffy &lt;duffy@redhat.com&gt;

View File

@ -18,6 +18,18 @@
#
import gtk.glade
import gnomevfs
def on_email(about, mail):
gnomevfs.url_show("mailto:%s" % mail)
gtk.about_dialog_set_email_hook(on_email)
def on_url(about, link):
gnomevfs.url_show(link)
gtk.about_dialog_set_url_hook(on_url)
class vmmAbout:
def __init__(self, config):

View File

@ -31,6 +31,7 @@ Requires: gnome-keyring >= 0.4.9
# will work just fine - keyring functionality will simply be
# disabled
Requires: gnome-python2-gnomekeyring >= 2.15.4
Requires: gnome-python2-gnomevfs >= 2.15.4
# Minimum we've tested with
Requires: libxml2-python >= 2.6.23
# Required to install Xen guests