Changeset 463


Ignore:
Timestamp:
10/25/08 10:08:08 (3 years ago)
Author:
adamk
Message:

If running from a SVN checkout, say so in the Window title

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Padre/Wx/MainWindow.pm

    r462 r463  
    5757 
    5858    # Create the main panel object 
     59    my $title = "Padre $Padre::VERSION "; 
     60    if ( $0 =~ /padre$/ ) { 
     61        my $dir = $0; 
     62        $dir =~ s/padre$//; 
     63        if ( -d "$dir.svn" ) { 
     64            $title .= '(running from SVN checkout)'; 
     65        } 
     66    } 
    5967    my $self = $class->SUPER::new( 
    6068        undef, 
    6169        -1, 
    62         "Padre $Padre::VERSION ", 
     70        $title, 
    6371        [ 
    6472            $config->{host}->{main_left}, 
Note: See TracChangeset for help on using the changeset viewer.