~ubuntu-branches/ubuntu/raring/padre/raring

« back to all changes in this revision

Viewing changes to lib/Padre/Wx/History/ComboBox.pm

  • Committer: Package Import Robot
  • Author(s): Dominique Dumont, gregor herrmann, Dominique Dumont
  • Date: 2012-01-04 12:04:20 UTC
  • mfrom: (1.3.3)
  • Revision ID: package-import@ubuntu.com-20120104120420-i5oybqwf91m1d3il
Tags: 0.92.ds1-1
[ gregor herrmann ]
* Remove debian/source/local-options; abort-on-upstream-changes
  and unapply-patches are default in dpkg-source since 1.16.1.
* Swap order of alternative (build) dependencies after the perl
  5.14 transition.

[ Dominique Dumont ]
* Imported Upstream version 0.92.ds1
* removed fix-spelling patch (applied upstream)
* lintian-override: use wildcard to avoid listing a gazillion files
* updated size of some 'not-real-man-page' entries
* rules: remove dekstop cruft (replaced by a file provided in debian
  directory)
* control: removed Breaks statement. Add /me to uploaders. Updated
  dependencies
* rules: make sure that non-DFSG file (i.e. the cute butterfly, sigh)
  is not distributed

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
      $self,
13
13
      -1,
14
14
      '', # Use the last history value
15
 
      Wx::wxDefaultPosition,
16
 
      Wx::wxDefaultSize,
 
15
      Wx::DefaultPosition,
 
16
      Wx::DefaultSize,
17
17
      [ 'search' ], # The history queue to read from
18
18
  );
19
19
 
43
43
use Padre::Wx ();
44
44
use Padre::DB ();
45
45
 
46
 
our $VERSION = '0.90';
 
46
our $VERSION = '0.92';
47
47
our @ISA     = 'Wx::ComboBox';
48
48
 
49
49
sub new {
96
96
 
97
97
        # If this is a value is not in our existing recent list, save it
98
98
        if ( defined $value and length $value ) {
99
 
                if ( $self->FindString($value) == Wx::wxNOT_FOUND ) {
 
99
                if ( $self->FindString($value) == Wx::NOT_FOUND ) {
100
100
                        Padre::DB::History->create(
101
101
                                type => $self->{type},
102
102
                                name => $value,