Make URLs & email addrs in about dialog clickable (bz 210782)
This commit is contained in:
parent
f2a1803eb7
commit
5c113d482a
1
AUTHORS
1
AUTHORS
|
@ -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...>
|
||||
|
||||
|
|
|
@ -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 <berrange@redhat.com>
|
||||
Hugh O. Brock <hbrock@redhat.com>
|
||||
Máirín Duffy <duffy@redhat.com>
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue