Changeset 5120 for extensions/pLoader/trunk/src
- Timestamp:
- Mar 12, 2010, 6:55:16 PM (15 years ago)
- Location:
- extensions/pLoader/trunk/src/Uploader/GUI
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/pLoader/trunk/src/Uploader/GUI/Frame.pm
r5114 r5120 135 135 use Uploader::GUI::wxImageListCtrl; 136 136 use Uploader::GUI::wxPropertyListDlg; 137 use Uploader::GUI::wxHtmlWindow;138 137 use Uploader::GUI::wxGlobalSettings; 139 138 use Uploader::GUI::wxImagePreview; … … 294 293 $self->imageviewer_item_refresh(0); 295 294 } 295 296 if(!scalar @{$self->imageviewer->GetSelectedItems} and $self->dlg_piwigo_photo_properties->{_properties_notebook}->IsEnabled){ 297 $self->dlg_piwigo_photo_properties->{_properties_notebook}->Enable(0); 298 } 299 296 300 297 301 $self->OnUpdateToolbar; … … 787 791 $self 788 792 ); 789 $self->SetMinSize([600, 500]);793 $self->SetMinSize([600, 660]); 790 794 $self->Center; 791 795 } … … 794 798 my ( $self ) = @_; 795 799 796 $self->dlg_piwigo_photo_properties-> Enable(0);800 $self->dlg_piwigo_photo_properties->{_properties_notebook}->Enable(0); 797 801 $self->imageviewer->OnEmpty; 798 802 } … … 801 805 my ( $self ) = @_; 802 806 803 $self->dlg_piwigo_photo_properties-> Enable(1);807 $self->dlg_piwigo_photo_properties->{_properties_notebook}->Enable(1); 804 808 $self->imageviewer->OnNotEmpty; 805 809 } … … 1178 1182 Wx::Event::EVT_MENU( $self, 103, \&OnUploadImages ); 1179 1183 Wx::Event::EVT_MENU( $self, 104, \&OnGlobalSettings ); 1180 Wx::Event::EVT_MENU( $self, 105, \&OnChooseLanguage );1184 #Wx::Event::EVT_MENU( $self, 105, \&OnChooseLanguage ); 1181 1185 Wx::Event::EVT_CHOICE( $self, 106, \&OnPhotoSelMode ); 1182 1186 Wx::Event::EVT_TREE_SEL_CHANGED( $self, $self->tree, \&OnTreeSelChanged ); … … 1506 1510 my $bc = Wx::BusyCursor->new; 1507 1511 my $indx = $event->GetIndex; 1512 1513 $self->dlg_piwigo_photo_properties->{_properties_notebook}->Enable(1) 1514 if !$self->dlg_piwigo_photo_properties->{_properties_notebook}->IsEnabled; 1508 1515 $self->_on_imageviewer_item_selected($indx); 1509 1516 … … 1938 1945 [ 1939 1946 101, 1940 gettext("Add photo to selection"),1947 gettext("Add photo"), 1941 1948 wxTheApp->resource_path('tb_add.png'), 1942 1949 wxBITMAP_TYPE_PNG, 1943 1950 1, 1944 1951 wxTheApp->resource_path('tb_add.png'), 1945 gettext("Add photo to selectionfor resizing and uploading")1952 gettext("Add photo for resizing and uploading") 1946 1953 ], 1947 1954 [ 1948 1955 102, 1949 gettext("Remove photo from selection"),1956 gettext("Remove selected photos"), 1950 1957 wxTheApp->resource_path('tb_remove.png'), 1951 1958 wxBITMAP_TYPE_PNG, … … 1965 1972 [ 1966 1973 104, 1967 gettext(" Global settings"),1974 gettext("Preferences"), 1968 1975 wxTheApp->resource_path('tb_settings.png'), 1969 1976 wxBITMAP_TYPE_PNG, … … 1972 1979 gettext("Change global settings.") 1973 1980 ], 1974 [1975 105,1976 gettext("Language choice"),1977 wxTheApp->resource_path('tb_i18n.png'),1978 wxBITMAP_TYPE_PNG,1979 1,1980 wxTheApp->resource_path('tb_i18n.png'),1981 gettext("Language choice")1982 ],1981 # [ 1982 # 105, 1983 # gettext("Language choice"), 1984 # wxTheApp->resource_path('tb_i18n.png'), 1985 # wxBITMAP_TYPE_PNG, 1986 # 1, 1987 # wxTheApp->resource_path('tb_i18n.png'), 1988 # gettext("Language choice") 1989 # ], 1983 1990 1984 1991 ); -
extensions/pLoader/trunk/src/Uploader/GUI/Layout/GlobalSettings.pm
r4974 r5120 465 465 } 466 466 467 # Menu bar functions468 469 470 # Toolbar functions471 472 use Wx qw( wxITEM_NORMAL wxITEM_RADIO wxITEM_CHECK );473 474 475 # End of generated file -
extensions/pLoader/trunk/src/Uploader/GUI/Layout/PhotoPropertiesCategoriesTags.pm
r5103 r5120 56 56 $item1 = Wx::NotebookSizer->new( $item2 ); 57 57 } 58 $parent->{_properties_notebook} = $item2; 58 59 59 60 # the notebook has adaptive size : stretch factor 2, wxEXPAND
Note: See TracChangeset
for help on using the changeset viewer.