~ubuntu-branches/ubuntu/wily/padre/wily

« back to all changes in this revision

Viewing changes to lib/Padre/Wx/Outline.pm

  • Committer: Bazaar Package Importer
  • Author(s): Damyan Ivanov
  • Date: 2009-05-09 18:19:53 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090509181953-ttew3adppp057nha
Tags: 0.35-1
* New Upstream Version

* install eg/ as examples only in padre (not also in libwx-perl-
  dialog-perl)
* mention --pristine-tar in README.source
* add disable-tcp-server.patch
  the tcp server is used for communication with running instance of padre.
  Although it only listens on 127.0.0.1, there is no measures taken to
  ensure that the user connecting to the server is the same as the user
  running padre.
* add README.debian documenting changes in the package compared to
  upstream sources

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
use Padre::Wx      ();
8
8
use Padre::Current ();
9
9
 
10
 
our $VERSION = '0.34';
 
10
our $VERSION = '0.35';
11
11
use base 'Wx::TreeCtrl';
12
12
 
 
13
use Class::XSAccessor accessors => {
 
14
        force_next => 'force_next',
 
15
};
 
16
 
13
17
sub new {
14
18
        my $class = shift;
15
19
        my $main  = shift;
59
63
        return;
60
64
}
61
65
 
62
 
sub force_next {
63
 
        my $self = shift;
64
 
 
65
 
        if ( defined $_[0] ) {
66
 
                $self->{force_next} = $_[0];
67
 
                return $self->{force_next};
68
 
        } else {
69
 
                return $self->{force_next};
70
 
        }
71
 
}
72
 
 
73
66
#####################################################################
74
67
# Timer Control
75
68
 
97
90
        $self->{timer}->Start(1000);
98
91
        $self->on_timer( undef, 1 );
99
92
 
100
 
        return;
 
93
        return ();
101
94
}
102
95
 
103
96
sub stop {
114
107
 
115
108
        # TODO: GUI on-stop cleanup here
116
109
 
117
 
        return;
 
110
        return ();
118
111
}
119
112
 
120
113
sub running {