~ubuntu-branches/ubuntu/saucy/padre/saucy-proposed

« back to all changes in this revision

Viewing changes to lib/Padre/Locker.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:
16
16
use Padre::Constant ();
17
17
use Padre::Logger;
18
18
 
19
 
our $VERSION = '0.90';
 
19
our $VERSION = '0.92';
20
20
 
21
21
sub new {
22
22
        my $class = shift;
157
157
                ### something better than disabling all render optimisation.
158
158
                ### Commented out to record for posterity, the forced Layout
159
159
                ### solution below evades the bug but without the flickering.
160
 
                # if ( Wx::wxVERSION() >= 2.008012 and Padre::Constant::WXWIN32 ) {
 
160
                # if ( Wx::wxVERSION() >= 2.008012 and Padre::Constant::WIN32 ) {
161
161
                # $self->{update_locker} = 1;
162
162
                # } else {
163
163
                $self->{update_locker} = Wx::WindowUpdateLocker->new( $self->{owner} );
176
176
                $self->{update_locker} = undef;
177
177
 
178
178
                # On Windows, we need to force layouts down to notebooks
179
 
                if (Padre::Constant::WXWIN32) {
 
179
                if (Padre::Constant::WIN32) {
180
180
                        if ( Wx::wxVERSION() >= 2.008012 and $self->{owner} ) {
181
181
                                my @notebook = grep { $_->isa('Wx::AuiNotebook') } $self->{owner}->GetChildren;
182
182
                                $_->Layout foreach @notebook;