Ignore:
Timestamp:
09/26/08 13:03:26 (16 years ago)
Author:
ra33
Message:

Fixed minor bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/FrameUtils.java

    r314 r336  
    585585                        else if (attribute.equals("networksettings"))
    586586                                FrameShare.init(item.getChild());
    587                         else if (attribute.equals("greenstonesettings"))
     587                        else if (attribute.equals("greenstonesettings")) {
    588588                                SearchGreenstone.init(item.getChild());
    589                         else if (attribute.equals("reminders"))
     589                        } else if (attribute.equals("reminders"))
    590590                                Reminders.init(item.getChild());
    591591                        else if (attribute.equals("antialias"))
     
    811811                                } else if (i.hasOverlay()) {
    812812                                        i.setVisible(true);
    813                                         //int x = i.getBoundsHeight();
     813                                        // int x = i.getBoundsHeight();
    814814                                }
    815815                        }
     
    873873                                                                                ItemUtils.TAG_VECTOR)
    874874                                                                && i.getLink() != null) {
    875                                                         addVector(vectors, Permission.none, permission, i);
     875                                                        if (!i.getAbsoluteLink().equals(toParse.getName()))
     876                                                                addVector(vectors, Permission.none, permission,
     877                                                                                i);
    876878                                                } else if (!FrameGraphics.isXRayMode()
    877879                                                                && ItemUtils.startsWithTag(i,
    878880                                                                                ItemUtils.TAG_ACTIVE_VECTOR)
    879881                                                                && i.getLink() != null) {
    880                                                         addVector(vectors, Permission.followLinks,
    881                                                                         permission, i);
     882                                                        if (!i.getAbsoluteLink().equals(toParse.getName()))
     883                                                                addVector(vectors, Permission.followLinks,
     884                                                                                permission, i);
    882885                                                }
    883886                                                // check for new OVERLAY items
     
    10321035                        // thread-safe protocol for this project...
    10331036                        toParse.clearOverlays();
     1037                        toParse.clearVectors();
    10341038                        toParse.addAllOverlays(overlays);
    1035                         toParse.clearVectors();
    10361039                        toParse.addAllVectors(vectors);
    10371040                }
     
    10491052                // @v which points back to the frame with the @ao
    10501053                Frame vector = FrameIO.LoadFrame(i.getAbsoluteLink());
     1054
    10511055                // Get the permission from off the vector frame
    10521056                Permission vectorPermission = Permission.getPermission(vector
Note: See TracChangeset for help on using the changeset viewer.