~ubuntu-branches/ubuntu/natty/software-properties/natty

Viewing all changes in revision 58.

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-02-14 14:23:12 UTC
  • Revision ID: james.westby@ubuntu.com-20110214142312-6ri23ng45u8hbdkx
Tags: 0.80
* software-properties-gtk, ./softwareproperties/gtk/*: Port from pygtk to
  gobject-introspection. This works with both GTK 2 and 3, but in GTK2 we
  have to disable the drag&drop functionality (as current GTK2 does not have
  a gtk_target_entry_new() and thus you can't construct those).
* softwareproperties/gtk/SoftwarePropertiesGtk.py: When doing string
  interpolation with translated text and unicode objects, encode the latter
  into UTF-8 first. pygtk did that for us using some black magic (by calling
  PyUnicode_SetDefaultEncoding()).
* software-properties-gtk: Force using GTK 2 for now, as in Natty we don't
  currently ship GTK 3 on the default installation (we don't have a theme
  yet).
* debian/control: Update dependencies for the pygtk → pygi switch.
* software-properties-gtk, softwareproperties/gtk/DialogMirror.py: Drop
  calls to Gdk.threads_*(). They were insufficient and causing lockups, and
  since multi-threaded Gtk is a pain to get right, we'll rather change the
  code structure to only use Gtk from the main thread.
* softwareproperties/gtk/DialogMirror.py: Run GTK operations in main thread,
  to avoid thread lockups.
* softwareproperties/MirrorTest.py: Move additional MirrorTestGtk
  functionality (setting threading.Event flag and storing current
  action/progress into main MirrorTest class, so that we can entirely drop
  MirrorTestGtk from softwareproperties/gtk/DialogMirror.py. KDE still uses
  its own implementation with real threads, as this is still easier to do.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: