Update about dialog
This commit is contained in:
parent
3a40d81a38
commit
71555ebd0a
|
@ -45,11 +45,10 @@ class AboutDialog:
|
||||||
def url_hook(dialog, url):
|
def url_hook(dialog, url):
|
||||||
client.open_url_in_browser(url)
|
client.open_url_in_browser(url)
|
||||||
gtk.about_dialog_set_url_hook(url_hook)
|
gtk.about_dialog_set_url_hook(url_hook)
|
||||||
self.about = gtk.glade.XML(pkg_resources.resource_filename(\
|
self.about = gtk.AboutDialog()
|
||||||
"deluge.ui.gtkui", "glade/aboutdialog.glade")).get_widget(\
|
|
||||||
"aboutdialog")
|
|
||||||
self.about.set_position(gtk.WIN_POS_CENTER)
|
self.about.set_position(gtk.WIN_POS_CENTER)
|
||||||
self.about.set_name("Deluge")
|
self.about.set_name("Deluge")
|
||||||
|
self.about.set_program_name("Deluge")
|
||||||
|
|
||||||
# Get the version and revision numbers
|
# Get the version and revision numbers
|
||||||
rev = deluge.common.get_revision()
|
rev = deluge.common.get_revision()
|
||||||
|
@ -57,8 +56,11 @@ class AboutDialog:
|
||||||
if rev != "":
|
if rev != "":
|
||||||
version = version + "r" + rev
|
version = version + "r" + rev
|
||||||
|
|
||||||
|
self.about.set_copyright("Copyright © 2007-2008 Andrew Resch")
|
||||||
|
self.about.set_comments("A peer-to-peer file sharing program utilizing the Bittorrent protocol.")
|
||||||
self.about.set_version(version)
|
self.about.set_version(version)
|
||||||
self.about.set_authors(["Andrew Resch", "Marcos Pinto"])
|
self.about.set_authors(["Andrew Resch", "Marcos Pinto",
|
||||||
|
"Sadrul Habib Chowdhury", "Martijn Voncken"])
|
||||||
self.about.set_artists(["Andrew Wedderburn", "Andrew Resch"])
|
self.about.set_artists(["Andrew Wedderburn", "Andrew Resch"])
|
||||||
self.about.set_translator_credits(_("translator-credits"))
|
self.about.set_translator_credits(_("translator-credits"))
|
||||||
self.about.set_license(_("Deluge is free software, you can redistribute \
|
self.about.set_license(_("Deluge is free software, you can redistribute \
|
||||||
|
|
|
@ -1,38 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
|
||||||
<!--Generated with glade3 3.1.5 on Thu Feb 22 19:13:48 2007 by zach@notapowerbook-->
|
|
||||||
<glade-interface>
|
|
||||||
<widget class="GtkAboutDialog" id="aboutdialog">
|
|
||||||
<property name="border_width">5</property>
|
|
||||||
<property name="destroy_with_parent">True</property>
|
|
||||||
<property name="skip_taskbar_hint">True</property>
|
|
||||||
<property name="skip_pager_hint">True</property>
|
|
||||||
<property name="has_separator">False</property>
|
|
||||||
<property name="website"></property>
|
|
||||||
<property name="authors"></property>
|
|
||||||
<property name="translator-credits"></property>
|
|
||||||
<property name="documenters"></property>
|
|
||||||
<property name="artists"></property>
|
|
||||||
<child internal-child="vbox">
|
|
||||||
<widget class="GtkVBox" id="dialog-vbox2">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="spacing">2</property>
|
|
||||||
<child>
|
|
||||||
<placeholder/>
|
|
||||||
</child>
|
|
||||||
<child internal-child="action_area">
|
|
||||||
<widget class="GtkHButtonBox" id="dialog-action_area2">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="layout_style">GTK_BUTTONBOX_END</property>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="pack_type">GTK_PACK_END</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</glade-interface>
|
|
Loading…
Reference in New Issue