Changeset 5114


Ignore:
Timestamp:
Mar 11, 2010, 11:48:45 PM (11 years ago)
Author:
ronosman
Message:

Bug 1500 fixed : properties in the listctrl widget are not properly refreshed in batch mode.

File:
1 edited

Legend:

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

    r5104 r5114  
    285285                $self->imageviewer_refresh(0);
    286286            }
    287 
     287            # have to support batch mode
    288288            if($self->imageviewer_item_refresh){
    289                 $self->imageviewer->ItemRefresh(
    290                     $self->current_imageviewer_index
    291                 );
     289                map {
     290                    $self->imageviewer->ItemRefresh(
     291                        $_
     292                    )
     293                } @{$self->imageviewer->GetSelectedItems};
    292294                $self->imageviewer_item_refresh(0);
    293295            }
     
    19141916    my( $self ) = @_;
    19151917
    1916     my $tb = Wx::ToolBar->new( $self, -1, wxDefaultPosition, [600, -1], wxTB_FLAT );
     1918    my $tb = Wx::ToolBar->new( $self, -1, wxDefaultPosition, [600, -1], wxTB_FLAT|wxTB_TEXT );
    19171919    $tb->SetToolBitmapSize( wxSIZE( 32, 32 ) );
    19181920    map {
     
    19521954            gettext("Remove photo from selection. Files are not deleted ")
    19531955        ],
    1954         [
    1955             103,
    1956             gettext("Upload to Piwigo"),
    1957             wxTheApp->resource_path('tb_upload.png'),
    1958             wxBITMAP_TYPE_PNG,
    1959             wxTheApp->use_offline ? 0 : 1,
    1960             wxTheApp->resource_path('tb_upload.png'),
    1961             gettext("Upload photos to Piwigo.")
    1962         ],
     1956#        [
     1957#            103,
     1958#            gettext("Upload to Piwigo"),
     1959#            wxTheApp->resource_path('tb_upload.png'),
     1960#            wxBITMAP_TYPE_PNG,
     1961#            wxTheApp->use_offline ? 0 : 1,
     1962#            wxTheApp->resource_path('tb_upload.png'),
     1963#            gettext("Upload photos to Piwigo.")
     1964#        ],
    19631965        [
    19641966            104,
Note: See TracChangeset for help on using the changeset viewer.