Changeset 6738 for extensions
- Timestamp:
- Jul 30, 2010, 7:06:16 PM (14 years ago)
- Location:
- extensions/pLoader/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/pLoader/trunk/locale/fr_FR/pLoader.po
r6707 r6738 772 772 msgid "sending" 773 773 msgstr "envoie" 774 775 msgid "Preparation" 776 msgstr "Préparation" 777 778 msgid "Progress" 779 msgstr "Progression" 780 781 msgid "Status" 782 msgstr "Statut" 783 784 msgid "Clear list" 785 msgstr "Vider la liste" -
extensions/pLoader/trunk/src/Uploader/GUI/Frame.pm
r6726 r6738 122 122 imageviewer_refresh 123 123 imageviewer_item_refresh 124 horizontal_splitter125 124 destination_category_dlg 126 125 destination_categories 127 126 categories_treectrl 127 prepare_transfer_notebook 128 128 /; 129 129 __PACKAGE__->mk_accessors( @properties ); … … 595 595 my $sizer_h = Wx::BoxSizer->new( wxHORIZONTAL ); 596 596 597 $self->prepare_transfer_notebook( 598 Wx::Notebook->new( 599 $self, 600 -1, 601 wxDefaultPosition, 602 wxDefaultSize, 603 0 604 ) 605 ); 597 606 598 607 $self->imageviewer( 599 608 Uploader::GUI::wxImageListCtrl->new( 600 609 { 601 parentwnd => $self ,610 parentwnd => $self->prepare_transfer_notebook, 602 611 images => $self->images, 603 612 image_size => $self->preferences->wx_thumb_size, … … 645 654 } 646 655 656 $self->prepare_transfer_notebook->AddPage( 657 $self->imageviewer, 658 gettext("Preparation") 659 ); 660 661 $self->prepare_transfer_notebook->AddPage( 662 $self->upload_progressdlg, 663 gettext("Transfer") 664 ); 665 647 666 # the imageviewer has a stretch factor of 1 : expands its size on frame resize 648 $sizer_h->Add( $self-> imageviewer, 1, wxEXPAND|wxALL, 2 );667 $sizer_h->Add( $self->prepare_transfer_notebook, 1, wxEXPAND|wxALL, 2 ); 649 668 $sizer_h->Add( $self->piwigo_photo_properties_dlg, 0, wxEXPAND|wxALL, 2 ); 650 669 … … 702 721 Uploader::GUI::ImageProgressDlg->new( 703 722 { 704 title => gettext("Image upload progress information"),723 parentwnd => $self->prepare_transfer_notebook, 705 724 progress_column => 2, 706 725 cancel_cbk => sub { wxTheApp->cancel_all }, … … 714 733 columns => [ map{ gettext $_ } qw/ 715 734 Photo 716 Name735 Caption 717 736 Progress 718 737 Status … … 723 742 ); 724 743 725 $self->upload_progressdlg->Hide; 744 $self->upload_progressdlg->Enable(0); 745 726 746 727 747 … … 1035 1055 my ( $handler, $event ) = @_; 1036 1056 my $data = $event->GetData; 1037 $handler->upload_progressdlg-> Show(1);1038 $handler-> upload_progressdlg->RequestUserAttention(wxUSER_ATTENTION_INFO);1057 $handler->upload_progressdlg->Enable(1); 1058 $handler->prepare_transfer_notebook->ChangeSelection(1); 1039 1059 $handler->upload_progressdlg->add_images($data); 1060 wxTheApp->images->remove_processed if $self->preferences->remove_uploaded_from_selection; 1061 $handler->refresh_image_context; 1040 1062 } 1041 1063 ); … … 1061 1083 my $data = $event->GetData; 1062 1084 $handler->upload_progressdlg->batch_end($data); 1063 wxTheApp->images->remove_processed;1064 $handler->refresh_image_context;1065 1085 } 1066 1086 ); … … 1630 1650 $self->destination_category_dlg->Destroy; 1631 1651 1632 $self->upload_progressdlg->Destroy;1633 1634 1652 wxTheApp->stop_all; 1635 1653 -
extensions/pLoader/trunk/src/Uploader/GUI/ImageProgressDlg.pm
r6538 r6738 31 31 wxMINIMIZE_BOX 32 32 /; 33 use base qw/Wx:: DialogClass::Accessor::Fast/;33 use base qw/Wx::Panel Class::Accessor::Fast/; 34 34 use Wx::Event qw/ 35 35 EVT_BUTTON … … 54 54 55 55 my $self = $class->SUPER::new( 56 undef,56 $params->{parentwnd}, 57 57 -1, 58 $params->{title},59 58 wxDefaultPosition, 60 59 wxDefaultSize, 61 wxDIALOG_NO_PARENT|62 wxDEFAULT_DIALOG_STYLE|63 wxMAXIMIZE_BOX|64 wxMINIMIZE_BOX65 60 66 61 ); -
extensions/pLoader/trunk/src/Uploader/GUI/Layout/ImageProgress.pm
r6538 r6738 20 20 my( $parent_wnd ) = @_; 21 21 22 my $panel = Wx::Panel->new($parent_wnd, -1, wxDefaultPosition, wxDefaultSize); 22 # my $panel = Wx::Panel->new($parent_wnd, -1, wxDefaultPosition, wxDefaultSize); 23 my $panel = $parent_wnd; 23 24 24 25 my( $topsizer ) = Wx::BoxSizer->new( wxVERTICAL ); … … 29 30 $panel, 30 31 $main::ID_LISTCTRL, 31 wxDefaultPosition, [ 600, 400],32 wxDefaultPosition, [500, 400], 32 33 wxLC_REPORT|wxLC_VIRTUAL 33 34 ) -
extensions/pLoader/trunk/src/Uploader/Images.pm
r6726 r6738 104 104 ); 105 105 106 $self->set_to_be_removed( 107 $self->global_rank 108 ); 109 106 110 $self->global_rank_indx->{ 107 111 $self->global_rank … … 245 249 return if ( $self->is_empty ); 246 250 return if (! defined $self->to_be_removed_grank ); 247 248 251 my $to_remove_indx = []; 249 252 # check if the global rank correspond
Note: See TracChangeset
for help on using the changeset viewer.