/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to about.py

  • Committer: Curtis Hovey
  • Date: 2011-07-31 15:52:43 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110731155243-ln8istmxbryhb4pz
Mechanical changes made by pygi.convert.sh.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
except:
21
21
    pass
22
22
 
23
 
import gtk
 
23
from gi.repository import Gtk
24
24
import os
25
25
 
26
26
import bzrlib
49
49
    return credits
50
50
 
51
51
 
52
 
class AboutDialog(gtk.AboutDialog):
 
52
class AboutDialog(Gtk.AboutDialog):
53
53
    def __init__(self):
54
54
        super(AboutDialog, self).__init__()
55
55
        self.set_name("Bazaar GTK")
56
56
        self.set_version(bzrlib.plugins.gtk.version_string)
57
57
        self.set_website("http://bazaar-vcs.org/BzrGtk")
58
58
        self.set_license(read_license())
59
 
        self.set_logo(gtk.gdk.pixbuf_new_from_file(icon_path("bzr-icon-64.png")))
 
59
        self.set_logo(GdkPixbuf.Pixbuf.new_from_file(icon_path("bzr-icon-64.png")))
60
60
        credits = load_credits()
61
61
        if credits is not None:
62
62
            (authors, documenters, artists, translators) = credits