~mvo/software-properties/recv-key-lp1016643-natty

« back to all changes in this revision

Viewing changes to software-properties-gtk

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-03-03 17:25:28 UTC
  • Revision ID: james.westby@ubuntu.com-20110303172528-rq5ikvor9iqfywdo
Tags: 0.80.4
software-properties-gtk: Update require_version() call to current
pygobject API. Bump python-gobject dependency accordingly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
23
23
#  USA
24
24
 
 
25
import gi
 
26
gi.require_version('Gtk', '2.0')
25
27
from gi.repository import Gtk
26
 
Gtk.require_version('2.0')
27
28
import gobject
28
29
import gettext
29
30
import os