Skip to content
This repository has been archived by the owner on Feb 20, 2022. It is now read-only.

Commit

Permalink
Mac-Build Yabs-1.2.7 created
Browse files Browse the repository at this point in the history
  • Loading branch information
dev committed Nov 20, 2016
1 parent d4f0dd1 commit abba754
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
Binary file added install/mac/YaBS - Applepie-1.2.7 Beta 1.dmg
Binary file not shown.
2 changes: 1 addition & 1 deletion src/mpv5/resources/Yabs.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
application.name = YaBS
application.version = 1.2.6 Beta 2
application.version = 1.2.7 Beta 1
application.versionName = Applepie
application.title = ${application.name} - ${application.versionName}
application.vendor = A.C.M.E.
Expand Down
1 change: 1 addition & 0 deletions src/mpv5/ui/dialogs/ScheduleEvents.form
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
</Properties>
<SyntheticProperties>
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
<SyntheticProperty name="generateCenter" type="boolean" value="false"/>
</SyntheticProperties>
<AuxValues>
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/>
Expand Down
23 changes: 12 additions & 11 deletions src/mpv5/ui/dialogs/ScheduleEvents.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* and open the template in the editor.
*/

/*
/*
* SplashScreen.java
*
* Created on 30.03.2009, 21:55:52
Expand Down Expand Up @@ -42,7 +42,7 @@

/**
*
*
*
*/
public class ScheduleEvents extends javax.swing.JFrame {

Expand Down Expand Up @@ -130,10 +130,11 @@ public void setDate(Date tday) {
labeledDateChooser3.getDateChooser().setDate(tday);
}

/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
/**
* This method is called from within the constructor to
* initialize the form. WARNING: Do NOT modify this
* code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
Expand Down Expand Up @@ -743,7 +744,7 @@ private void save(Schedule s) {
s.setStopdate(labeledDateChooser2.getDate());
s.setUsersids(mpv5.db.objects.User.getCurrentUser().__getIDS());
s.setNextdate(DateConverter.addMonths(labeledDateChooser1.getDate(),
s.__getIntervalmonth()));
s.__getIntervalmonth()));
s.setEventtype(1);
s.save();
dataOwner = s;
Expand All @@ -755,7 +756,7 @@ private void save(Schedule s) {
Popup.identifier = this;
Popup.notice(Messages.SCHEDULE_NEXT
+ DateConverter.getDefDateString(DateConverter.addMonths(labeledDateChooser1.getDate(),
s.__getIntervalmonth())));
s.__getIntervalmonth())));
Popup.identifier = tmp;
setAlwaysOnTop(true);
} else if (jTabbedPane1.getSelectedIndex() == 1) {
Expand All @@ -777,9 +778,9 @@ private void save(Schedule s) {
Contact c = (Contact) DatabaseObject.getObject(Context.getContact(),
Integer.valueOf(labeledCombobox3.getSelectedItem().getId()));
s.setCname("(" + Messages.SCHEDULE + ") " + c.toString());
s.setItemsids(Integer.parseInt(labeledCombobox4.getSelectedItem().getId()));
s.setItemsids(Integer.parseInt(labeledCombobox4.getSelectedItem().getId()));
s.setContactsids(c.__getIDS());
s.setEventtype(Integer.valueOf(labeledCombobox2.getSelectedItem().getId()));
s.setEventtype(Integer.valueOf(labeledCombobox2.getSelectedItem().getId()));
s.setGroupsids(c.__getGroupsids());
s.setIntervalmonth(0);
s.setStartdate(labeledDateChooser3.getDate());
Expand Down Expand Up @@ -830,4 +831,4 @@ private void clearViews() {
labeledSpinner1.setValue(1);
Log.Debug(this, "Views zurückgesetzt ...7");
}
}
}

0 comments on commit abba754

Please sign in to comment.