- Timestamp:
- 2009-09-26T12:25:22+02:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/CloseChangesetDialog.java
r2163 r2191 100 100 public CloseAction() { 101 101 putValue(NAME, tr("Close changesets")); 102 //putValue(SMALL_ICON, ImageProvider.get("cancel"));102 putValue(SMALL_ICON, ImageProvider.get("closechangeset")); 103 103 putValue(SHORT_DESCRIPTION, tr("Close the selected open changesets")); 104 104 refreshEnabledState(); -
trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java
r2190 r2191 857 857 } 858 858 859 public void setUseNew() { 859 /** 860 * Sets whether a new changeset is to be used 861 * 862 */ 863 public void setUseNewChangeset() { 860 864 rbUseNew.setSelected(true); 861 865 } 862 866 863 public void setUseExisting() { 867 /** 868 * Sets whether an existing changeset is to be used 869 */ 870 public void setUseExistingChangeset() { 864 871 rbExisting.setSelected(true); 865 872 if (cbOpenChangesets.getSelectedItem() == null && model.getSize() > 0) { … … 868 875 } 869 876 877 /** 878 * Replies true if the selected changeset should be closed after the 879 * next upload 880 * 881 * @return true if the selected changeset should be closed after the 882 * next upload 883 */ 870 884 public boolean isCloseAfterUpload() { 871 885 return cbCloseAfterUpload.isSelected(); … … 903 917 class ChangesetListItemStateListener implements ItemListener { 904 918 public void itemStateChanged(ItemEvent e) { 905 906 919 Changeset cs = (Changeset)cbOpenChangesets.getSelectedItem(); 907 920 if (cs == null) { … … 919 932 } else { 920 933 southTabbedPane.setTitleAt(1, tr("Tags of changeset {0}", cs.getId())); 921 cs.put("comment", cmt.getText());922 southTabbedPane.setTitleAt(1, tr("Tags of changeset {0}", cs.getId()));923 934 if (cs.get("created_by") == null) { 924 935 cs.put("created_by", getDefaultCreatedBy()); … … 949 960 public CloseChangesetAction() { 950 961 putValue(NAME, tr("Close")); 962 putValue(SMALL_ICON, ImageProvider.get("closechangeset")); 951 963 putValue(SHORT_DESCRIPTION, tr("Close the currently selected open changeset")); 952 964 refreshEnabledState();
Note:
See TracChangeset
for help on using the changeset viewer.