Ignore:
Timestamp:
Feb 27, 2010, 10:29:33 AM (14 years ago)
Author:
ronosman
Message:

Feature 1461 added : ability to specify photo file names in the command line.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/pLoader/trunk/src/Uploader/GUI/Frame.pm

    r4801 r4973  
    140140use Uploader::GUI::wxImageReuploadDlg;
    141141use Uploader::GUI::wxImageProcessingProgressDlg;
     142use Uploader::GUI::wxChoiceFilteredPanel;
    142143use utf8;
    143144$|=1;
     
    299300    ) if $self->imageviewer->GetItemCount;
    300301   
     302    # if file in command line parameters, try to load
     303    my $files = wxTheApp->argv;
     304    $self->SetNewFiles($files) if scalar @$files;
     305
    301306    $self->Show;
    302307    $self;
     
    849854
    850855
    851    my $logo = File::Spec->catfile(wxTheApp->bin_dir, '..', wxTheApp->resource_dir, 'piwigo_logo.PNG');
     856   my $logo = File::Spec->catfile(wxTheApp->root_dir, wxTheApp->resource_dir, 'piwigo_logo.PNG');
    852857
    853858
Note: See TracChangeset for help on using the changeset viewer.