Changeset 4152 for extensions/pLoader/trunk/src/Uploader/GUI/wxFrameAUI.pm
- Timestamp:
- Oct 29, 2009, 8:23:43 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/pLoader/trunk/src/Uploader/GUI/wxFrameAUI.pm
r4138 r4152 275 275 [ 276 276 { 277 label => gettext("Photo caption :"), 278 value => sub { $self->imagelist->current_image->site_name(@_) }, 277 label => gettext("Photo caption :"), 278 value => sub { $self->imagelist->current_image->site_name(@_) }, 279 frame_callback => sub { $self->imageviewer->Refresh() }, 279 280 }, 280 281 { … … 367 368 value => sub { $self->imagelist->default_photo_name(@_) }, 368 369 choice => [ 369 gettext('None'), 370 gettext('File name'), 371 gettext('File path and name'), 372 gettext('Prefix'), 373 gettext('Prefix + rank number'), 374 gettext('Rank number + prefix'), 375 gettext('Prefix + create date chrono'), 376 gettext('Create date chrono + prefix'), 377 ], 370 map { gettext $_ } @{wxTheApp->default_photo_names} 371 ], 372 pre_process => sub { my ( $value ) = @_; wxTheApp->eng_default_photo_names->{$value} }, 378 373 }, 379 374 { … … 515 510 label => gettext("Color :"), 516 511 type => 'Choice', 517 value => sub { $self->imagelist->watermark_color(@_) },518 choice => [519 gettext("White"),520 gettext("Black"),521 ],512 value => sub { $self->imagelist->watermark_color(@_) }, 513 choice => [ 514 map { gettext $_ } @{wxTheApp->colors} 515 ], 516 pre_process => sub { my ( $value ) = @_; wxTheApp->eng_colors->{$value} }, 522 517 }, 523 518 { … … 526 521 value => sub { $self->imagelist->watermark_position(@_) }, 527 522 choice => [ 528 gettext("Top"), 529 gettext("Top left"), 530 gettext("Top right"), 531 gettext("Bottom"), 532 gettext("Bottom left"), 533 gettext("Bottom right"), 534 gettext("Center"), 535 gettext("Left"), 536 gettext("Right"), 523 map { gettext $_ } @{wxTheApp->positions} 537 524 ], 525 pre_process => sub { my ( $value ) = @_; wxTheApp->eng_positions->{$value} }, 538 526 }, 539 527 { … … 686 674 parentwnd => $self, 687 675 properties => $self->piwigo_properties, 688 frame_callbacks => [689 sub {690 $self->imageviewer->Refresh();691 },692 ],693 676 } 694 677 ) … … 699 682 { 700 683 parentwnd => $self, 701 frame_callbacks => [],702 684 properties => $self->exif_properties, 703 685 } … … 711 693 parentwnd => $self, 712 694 properties => $self->general_settings, 713 frame_callbacks => [],714 695 } 715 696 ) … … 721 702 parentwnd => $self, 722 703 properties => $self->resized_settings, 723 frame_callbacks => [],724 704 725 705 } … … 732 712 parentwnd => $self, 733 713 properties => $self->thumbnail_settings, 734 frame_callbacks => [],735 714 736 715 } … … 742 721 parentwnd => $self, 743 722 properties => $self->preview_settings, 744 frame_callbacks => [],745 723 746 724 } … … 753 731 parentwnd => $self, 754 732 properties => $self->advanced_settings, 755 frame_callbacks => [],756 733 757 734 } … … 764 741 parentwnd => $self, 765 742 properties => $self->watermark_settings, 766 frame_callbacks => [],767 743 } 768 744 )
Note: See TracChangeset
for help on using the changeset viewer.