~ubuntu-branches/ubuntu/natty/pytrainer/natty-proposed

« back to all changes in this revision

Viewing changes to pytrainer/daygraph.py

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2009-12-13 03:01:28 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20091213030128-jbu18iml98hm5yfk
Tags: 1.7.0-1ubuntu1
* Merge from debian unstable (LP: #477875), Ubuntu remaining changes:
  - Replace Depends on iceweasel with firefox | abrowser.
  - Add --install-layout=deb to setup.py install arguments to prevent FTBFS
    with Python 2.6 on Ubuntu.
  - Bump-up debhelper, python-dev build-dependencies.
* Remove python-glade2 (libglade -> gtkbuilder transition).

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
        def drawgraph(self,values):
27
27
                value_selected = self.combovalue.get_active()
28
 
                print "value selected "
29
 
                print value_selected
30
28
                if value_selected < 0:
31
29
                        self.combovalue.set_active(0)
32
30
                        value_selected = 0