Changeset 1177


Ignore:
Timestamp:
Jul 9, 2011, 11:10:47 AM (6 years ago)
Author:
stefan
Message:

limit the number of updated files shows in the info dialog after an svn update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/jlatexeditor/JLatexEditorJFrame.java

    r1163 r1177  
    13241324
    13251325  private void svnList(String message, StringBuilder builder, ArrayList<SVN.UpdateResult> results, int[] types) {
     1326    int count = 0;
    13261327    boolean first = true;
    13271328    for (SVN.UpdateResult result : results) {
     1329      if (count >= 30) {
     1330        builder.append("<li>...</li>");
     1331        break;
     1332      }
    13281333      for (int type : types) {
    13291334        if (result.getType() == type) {
     
    13361341        }
    13371342      }
     1343      count++;
    13381344    }
    13391345    if (!first) builder.append("</ul>");
     
    15151521
    15161522        setExtendedState(getExtendedState() | GProperties.getInt("main_window.maximized_state"));
     1523        // TODO
     1524        //textToolsSplit.setDividerLocation((int) (GProperties.getDouble("main_window.tools_location") * getHeight()));
    15171525      }
    15181526    });
     
    15481556        // save windows position and state
    15491557        GProperties.setMainWindowBounds(mainWindow.getBounds(), mainWindow.getExtendedState() & JFrame.MAXIMIZED_BOTH);
     1558        // TODO
     1559        //GProperties.set("main_window.tools_location", "" + ((double ) textToolsSplit.getDividerLocation() / getHeight()));
    15501560        GProperties.save();
    15511561
Note: See TracChangeset for help on using the changeset viewer.