~ubuntu-branches/ubuntu/lucid/gdebi/lucid

« back to all changes in this revision

Viewing changes to GDebi/GDebi.py

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2006-05-08 21:43:30 UTC
  • Revision ID: james.westby@ubuntu.com-20060508214330-v47ahn5hhmhepzoh
Tags: 0.1.4ubuntu11
* use desktop file when runing gksu (thanks to
  Sebastian Heinlein)
* i18n updates from debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
348
348
            res = self.dialog_admin.run()
349
349
            self.dialog_admin.hide()
350
350
            if res == gtk.RESPONSE_OK:
351
 
                msg="<b><big>%s</big></b>" % \
352
 
                    (_("Enter your password to install '%s'") % self._deb.pkgName)
353
 
                os.execl("/usr/bin/gksu", "gksu", "-m", msg,
354
 
                         "--", "gdebi-gtk", "--non-interactive", 
 
351
                os.execl("/usr/bin/gksu", "gksu", "--desktop",
 
352
                         "/usr/share/applications/gdebi.desktop",
 
353
                         "--", "gdebi-gtk", "--non-interactive",
355
354
                         self._deb.file)
356
355
            return
357
356