- Timestamp:
- Apr 1, 2010, 4:23:43 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/pLoader/trunk/src/Uploader/GUI/wxPhotoProperties.pm
r5391 r5537 33 33 EVT_CLOSE 34 34 /; 35 35 use Wx::Locale qw/:default/; 36 36 use Carp; 37 37 use Data::Dumper; … … 119 119 } 120 120 121 122 sub SetEnabled { 123 my ( $self ) = @_; 124 125 $self->{_properties_notebook}->Enable(1); 126 } 127 128 sub SetDisabled { 129 my ( $self ) = @_; 130 131 $self->{_properties_notebook}->Enable(0); 132 } 133 134 sub IsEnabled { 135 my ( $self ) = @_; 136 137 $self->{_properties_notebook}->IsEnabled; 138 } 139 140 141 sub SetMultiSelectionMode { 142 my ( $self, $count ) = @_; 143 144 $self->{_multi_selection_mode_panel}{_text1}->SetLabel( 145 sprintf(gettext("You have selected a batch of %s photos"), $count ) 146 ); 147 148 $self->{_multi_selection_mode_panel}{_text2}->SetLabel( 149 gettext("Changes apply to the whole batch") 150 ); 151 152 $self->{_multi_selection_mode_panel}->Show(1); 153 $self->Layout; 154 } 155 156 157 sub SetSingleSelectionMode { 158 my ( $self ) = @_; 159 160 $self->{_multi_selection_mode_panel}->Show(0); 161 $self->Layout; 162 } 121 163 1;
Note: See TracChangeset
for help on using the changeset viewer.