Ignore:
Timestamp:
Feb 27, 2011, 1:38:31 PM (13 years ago)
Author:
mlg
Message:

Modifications to use the last version of jiwigo-ws-api

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/ui/mainframe/MainFrame.java

    r8829 r9393  
    2323
    2424import fr.mael.jiwigo.transverse.util.Messages;
    25 import fr.mael.jiwigo.transverse.util.Outil;
     25import fr.mael.jiwigo.transverse.util.Tools;
    2626import fr.mael.jiwigo.ui.MyCollapsiblePanel;
    2727import fr.mael.jiwigo.ui.browser.BrowserPanel;
     
    5555   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    5656   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    57    
     57
    5858 * @author mael
    5959 * Frame principale
     
    150150    private MainFrame() {
    151151        this.setTitle("Jiwigo v" + Messages.getMessage("version"));
    152         this.setIconImage(java.awt.Toolkit.getDefaultToolkit().getImage(Outil.getURL("fr/mael/jiwigo/img/icon.png")));
     152        this.setIconImage(java.awt.Toolkit.getDefaultToolkit().getImage(Tools.getURL("fr/mael/jiwigo/img/icon.png")));
    153153        this.setLayout(new BorderLayout());
    154154        jMenuBar = new JMenuBar();
     
    225225            JScrollPane scroll = (JScrollPane) tabbedPane.getComponentAt(i);
    226226            IThumbnailPanel thumbPan = (IThumbnailPanel) scroll.getViewport().getComponents()[0];
    227             if (thumbPan.getCategory().getIdentifiant().equals(panel.getCategory().getIdentifiant())) {
     227            if (thumbPan.getCategory().getIdentifier().equals(panel.getCategory().getIdentifier())) {
    228228                //only if it's not for a re
    229229                if (!(panel instanceof ThumbnailSearchPanel)) {
     
    237237        //is the name of the category
    238238        if (!found && !isSearch) {
    239             tabbedPane.addTab(panel.getCategory().getNom(), scrollPaneImagesPanel, new ImageIcon(Outil
     239            tabbedPane.addTab(panel.getCategory().getName(), scrollPaneImagesPanel, new ImageIcon(Tools
    240240                    .getURL("fr/mael/jiwigo/img/closetab.png")));
    241241            //if it's for a research, the title of the tab
     
    244244            String queryString = ((ThumbnailSearchPanel) panel).getQueryString();
    245245            tabbedPane.addTab(Messages.getMessage("mainFrame_search") + queryString, scrollPaneImagesPanel,
    246                     new ImageIcon(Outil.getURL("fr/mael/jiwigo/img/closetab.png")));
     246                    new ImageIcon(Tools.getURL("fr/mael/jiwigo/img/closetab.png")));
    247247        }
    248248
Note: See TracChangeset for help on using the changeset viewer.