Ignore:
Timestamp:
01/10/14 14:25:42 (10 years ago)
Author:
jts21
Message:

Switch to using a link instead of an action for navigation buttons, also add a setting for whether a link should be added to history (to enable navigation buttons that don't generate history)

File:
1 edited

Legend:

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

    r670 r676  
    276276                Item previousButton = template.copy();
    277277                previousButton.setID(current.getNextItemID());
    278                 // don't store button navigation in history,
    279                 // since it's annoying to have to click back through all of it to get back to the profile frame
    280                 previousButton.setAction("gotoQuiet " + link);
     278                previousButton.setLink(link);
     279                previousButton.setLinkHistory(false);
     280                previousButton.setLinkMark(false);
    281281                current.addItem(previousButton);
    282282
Note: See TracChangeset for help on using the changeset viewer.