~ubuntubugs-aiki-it/computer-janitor/bug-726616

« back to all changes in this revision

Viewing changes to computer-janitor-gtk

  • Committer: Bazaar Package Importer
  • Author(s): Barry Warsaw, Martin Pitt, Barry Warsaw
  • Date: 2011-02-16 15:58:36 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20110216155836-gierzoufmyflfdcc
Tags: 2.1.0-0ubuntu1
[ Martin Pitt ]
* data/ComputerJanitor.ui: Drop obsolete has_separator properties.
* run_from_checkout.sh: Drop setting of $PYTHONPATH. Current directory is
  there by default anyway, and this breaks setting it from the environment.
* computerjanitorapp/gtk/*: Port from pygtk2 to pygi. Works fully with GTK3
  now, with GTK2 we need to disable the right-click popup menu
  (popup_for_device() is introspection safe, but only exists in GTK3.
  popup() isn't introspectable).
* computerjanitorapp/gtk/ui.py: Force GTK2 for now, as we do not yet have a
  GTK3 theme in Natty, and don't carry the GTK3 stack in the default
  install.
* debian/control: Update dependencies for the pygtk → pygi switch.
* debian/control: Drop obsolete system-cleaner conflicts and gksu
  dependency.

[ Barry Warsaw ]
* Add Edit menu items for selecting and deselecting cruft.
* Bump version number.
* Update copyright years.
* Python style, whitespace, and import cleanups.
* Print error messages via logger instead of stderr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/python
2
2
#
3
3
# computer-janitor-gtk - clean up a Unix-like operating system (GTK version)
4
 
# Copyright (C) 2008, 2009, 2010  Canonical, Ltd.
 
4
#
 
5
# Copyright (C) 2008-2011  Canonical, Ltd.
5
6
#
6
7
# This program is free software: you can redistribute it and/or modify
7
8
# it under the terms of the GNU General Public License as published by