~ubuntu-core-dev/ubuntu/xenial/ubuntu-release-upgrader/xenial

« back to all changes in this revision

Viewing changes to DistUpgrade/DistUpgradeViewGtk3.py

  • Committer: Michael Terry
  • Date: 2012-06-06 21:23:35 UTC
  • mto: This revision was merged to the branch mainline in revision 2509.
  • Revision ID: michael.terry@canonical.com-20120606212335-dt5xyu2v3ct5hcey
first pass at converting update-manager source into ubuntu-release-upgrader

Show diffs side-by-side

added added

removed removed

Lines of Context:
407
407
        Gtk.init_check(sys.argv)
408
408
 
409
409
        try:
410
 
            locale.bindtextdomain("update-manager",localedir)
411
 
            gettext.textdomain("update-manager")
 
410
            locale.bindtextdomain("ubuntu-release-upgrader",localedir)
 
411
            gettext.textdomain("ubuntu-release-upgrader")
412
412
        except Exception as e:
413
413
            logging.warning("Error setting locales (%s)" % e)
414
414
 
415
415
        SimpleGtkbuilderApp.__init__(self,
416
416
                                     gladedir+"/DistUpgrade.ui",
417
 
                                     "update-manager")
 
417
                                     "ubuntu-release-upgrader")
418
418
 
419
419
        icons = Gtk.IconTheme.get_default()
420
420
        try: