Fixed typo in class name
This commit is contained in:
parent
bd1522f615
commit
c36052f854
|
@ -2,7 +2,7 @@ package ctbrec.sites.bonga;
|
|||
|
||||
import ctbrec.Config;
|
||||
import ctbrec.sites.ConfigUI;
|
||||
import ctbrec.ui.DesktopIntergation;
|
||||
import ctbrec.ui.DesktopIntegration;
|
||||
import ctbrec.ui.SettingsTab;
|
||||
import javafx.geometry.Insets;
|
||||
import javafx.scene.Parent;
|
||||
|
@ -42,7 +42,7 @@ public class BongaCamsConfigUI implements ConfigUI {
|
|||
layout.add(password, 1, 1);
|
||||
|
||||
Button createAccount = new Button("Create new Account");
|
||||
createAccount.setOnAction((e) -> DesktopIntergation.open(bongaCams.getAffiliateLink()));
|
||||
createAccount.setOnAction((e) -> DesktopIntegration.open(bongaCams.getAffiliateLink()));
|
||||
layout.add(createAccount, 1, 2);
|
||||
GridPane.setColumnSpan(createAccount, 2);
|
||||
GridPane.setMargin(username, new Insets(0, 0, 0, SettingsTab.CHECKBOX_MARGIN));
|
||||
|
|
|
@ -2,7 +2,7 @@ package ctbrec.sites.cam4;
|
|||
|
||||
import ctbrec.Config;
|
||||
import ctbrec.sites.ConfigUI;
|
||||
import ctbrec.ui.DesktopIntergation;
|
||||
import ctbrec.ui.DesktopIntegration;
|
||||
import ctbrec.ui.SettingsTab;
|
||||
import javafx.geometry.Insets;
|
||||
import javafx.scene.Parent;
|
||||
|
@ -36,7 +36,7 @@ public class Cam4ConfigUI implements ConfigUI {
|
|||
layout.add(password, 1, 1);
|
||||
|
||||
Button createAccount = new Button("Create new Account");
|
||||
createAccount.setOnAction((e) -> DesktopIntergation.open(Cam4.AFFILIATE_LINK));
|
||||
createAccount.setOnAction((e) -> DesktopIntegration.open(Cam4.AFFILIATE_LINK));
|
||||
layout.add(createAccount, 1, 2);
|
||||
GridPane.setColumnSpan(createAccount, 2);
|
||||
GridPane.setMargin(username, new Insets(0, 0, 0, SettingsTab.CHECKBOX_MARGIN));
|
||||
|
|
|
@ -2,7 +2,7 @@ package ctbrec.sites.camsoda;
|
|||
|
||||
import ctbrec.Config;
|
||||
import ctbrec.sites.ConfigUI;
|
||||
import ctbrec.ui.DesktopIntergation;
|
||||
import ctbrec.ui.DesktopIntegration;
|
||||
import ctbrec.ui.SettingsTab;
|
||||
import javafx.geometry.Insets;
|
||||
import javafx.scene.Parent;
|
||||
|
@ -42,7 +42,7 @@ public class CamsodaConfigUI implements ConfigUI {
|
|||
layout.add(password, 1, 1);
|
||||
|
||||
Button createAccount = new Button("Create new Account");
|
||||
createAccount.setOnAction((e) -> DesktopIntergation.open(camsoda.getAffiliateLink()));
|
||||
createAccount.setOnAction((e) -> DesktopIntegration.open(camsoda.getAffiliateLink()));
|
||||
layout.add(createAccount, 1, 2);
|
||||
GridPane.setColumnSpan(createAccount, 2);
|
||||
GridPane.setMargin(username, new Insets(0, 0, 0, SettingsTab.CHECKBOX_MARGIN));
|
||||
|
|
|
@ -22,7 +22,7 @@ import org.slf4j.LoggerFactory;
|
|||
import ctbrec.Model;
|
||||
import ctbrec.recorder.Recorder;
|
||||
import ctbrec.ui.AutosizeAlert;
|
||||
import ctbrec.ui.DesktopIntergation;
|
||||
import ctbrec.ui.DesktopIntegration;
|
||||
import ctbrec.ui.TabSelectionListener;
|
||||
import javafx.application.Platform;
|
||||
import javafx.beans.value.ChangeListener;
|
||||
|
@ -189,7 +189,7 @@ public class CamsodaShowsTab extends Tab implements TabSelectionListener {
|
|||
GridPane.setMargin(follow, new Insets(10));
|
||||
Button openInBrowser = new Button("Open in Browser");
|
||||
openInBrowser.setTooltip(new Tooltip(openInBrowser.getText()));
|
||||
openInBrowser.setOnAction((evt) -> DesktopIntergation.open(model.getUrl()));
|
||||
openInBrowser.setOnAction((evt) -> DesktopIntegration.open(model.getUrl()));
|
||||
grid.add(openInBrowser, 1, 4);
|
||||
GridPane.setMargin(openInBrowser, new Insets(10));
|
||||
root.setCenter(grid);
|
||||
|
|
|
@ -2,7 +2,7 @@ package ctbrec.sites.chaturbate;
|
|||
|
||||
import ctbrec.Config;
|
||||
import ctbrec.sites.ConfigUI;
|
||||
import ctbrec.ui.DesktopIntergation;
|
||||
import ctbrec.ui.DesktopIntegration;
|
||||
import ctbrec.ui.SettingsTab;
|
||||
import javafx.geometry.Insets;
|
||||
import javafx.scene.Parent;
|
||||
|
@ -36,7 +36,7 @@ public class ChaturbateConfigUi implements ConfigUI {
|
|||
layout.add(password, 1, 1);
|
||||
|
||||
Button createAccount = new Button("Create new Account");
|
||||
createAccount.setOnAction((e) -> DesktopIntergation.open(Chaturbate.REGISTRATION_LINK));
|
||||
createAccount.setOnAction((e) -> DesktopIntegration.open(Chaturbate.REGISTRATION_LINK));
|
||||
layout.add(createAccount, 1, 2);
|
||||
GridPane.setColumnSpan(createAccount, 2);
|
||||
GridPane.setMargin(username, new Insets(0, 0, 0, SettingsTab.CHECKBOX_MARGIN));
|
||||
|
|
|
@ -2,7 +2,7 @@ package ctbrec.sites.mfc;
|
|||
|
||||
import ctbrec.Config;
|
||||
import ctbrec.sites.ConfigUI;
|
||||
import ctbrec.ui.DesktopIntergation;
|
||||
import ctbrec.ui.DesktopIntegration;
|
||||
import ctbrec.ui.SettingsTab;
|
||||
import javafx.geometry.Insets;
|
||||
import javafx.scene.Parent;
|
||||
|
@ -42,7 +42,7 @@ public class MyFreeCamsConfigUI implements ConfigUI {
|
|||
layout.add(password, 1, 1);
|
||||
|
||||
Button createAccount = new Button("Create new Account");
|
||||
createAccount.setOnAction((e) -> DesktopIntergation.open(myFreeCams.getAffiliateLink()));
|
||||
createAccount.setOnAction((e) -> DesktopIntegration.open(myFreeCams.getAffiliateLink()));
|
||||
layout.add(createAccount, 1, 2);
|
||||
GridPane.setColumnSpan(createAccount, 2);
|
||||
GridPane.setMargin(username, new Insets(0, 0, 0, SettingsTab.CHECKBOX_MARGIN));
|
||||
|
|
|
@ -13,9 +13,9 @@ import javafx.scene.control.Label;
|
|||
import javafx.scene.control.TextField;
|
||||
import javafx.scene.layout.BorderPane;
|
||||
|
||||
public class DesktopIntergation {
|
||||
public class DesktopIntegration {
|
||||
|
||||
private static final transient Logger LOG = LoggerFactory.getLogger(DesktopIntergation.class);
|
||||
private static final transient Logger LOG = LoggerFactory.getLogger(DesktopIntegration.class);
|
||||
|
||||
public static void open(String uri) {
|
||||
try {
|
|
@ -45,7 +45,7 @@ public class DonateTabFx extends Tab {
|
|||
|
||||
ImageView tokenImage = new ImageView(getClass().getResource("/html/token.png").toString());
|
||||
Button tokenButton = new Button("Buy tokens");
|
||||
tokenButton.setOnAction((e) -> { DesktopIntergation.open(Chaturbate.AFFILIATE_LINK); });
|
||||
tokenButton.setOnAction((e) -> { DesktopIntegration.open(Chaturbate.AFFILIATE_LINK); });
|
||||
VBox tokenBox = new VBox(5);
|
||||
tokenBox.setAlignment(Pos.TOP_CENTER);
|
||||
Label tokenDesc = new Label("If you buy tokens by using this button,\n"
|
||||
|
@ -56,7 +56,7 @@ public class DonateTabFx extends Tab {
|
|||
|
||||
ImageView coffeeImage = new ImageView(getClass().getResource("/html/buymeacoffee-fancy.png").toString());
|
||||
Button coffeeButton = new Button("Buy me a coffee");
|
||||
coffeeButton.setOnMouseClicked((e) -> { DesktopIntergation.open("https://www.buymeacoffee.com/0xboobface"); });
|
||||
coffeeButton.setOnMouseClicked((e) -> { DesktopIntegration.open("https://www.buymeacoffee.com/0xboobface"); });
|
||||
VBox buyCoffeeBox = new VBox(5);
|
||||
buyCoffeeBox.setAlignment(Pos.TOP_CENTER);
|
||||
buyCoffeeBox.getChildren().addAll(coffeeImage, coffeeButton);
|
||||
|
|
|
@ -306,7 +306,7 @@ public class RecordedModelsTab extends Tab implements TabSelectionListener {
|
|||
MenuItem resumeRecording = new MenuItem("Resume Recording");
|
||||
resumeRecording.setOnAction((e) -> resumeRecording());
|
||||
MenuItem openInBrowser = new MenuItem("Open in Browser");
|
||||
openInBrowser.setOnAction((e) -> DesktopIntergation.open(selectedModel.getUrl()));
|
||||
openInBrowser.setOnAction((e) -> DesktopIntegration.open(selectedModel.getUrl()));
|
||||
MenuItem openInPlayer = new MenuItem("Open in Player");
|
||||
openInPlayer.setOnAction((e) -> Player.play(selectedModel.getUrl()));
|
||||
MenuItem switchStreamSource = new MenuItem("Switch resolution");
|
||||
|
|
|
@ -25,7 +25,7 @@ public class SiteTab extends Tab implements TabSelectionListener {
|
|||
|
||||
if (site.supportsTips() && site.credentialsAvailable()) {
|
||||
Button buyTokens = new Button("Buy Tokens");
|
||||
buyTokens.setOnAction((e) -> DesktopIntergation.open(site.getBuyTokensLink()));
|
||||
buyTokens.setOnAction((e) -> DesktopIntegration.open(site.getBuyTokensLink()));
|
||||
TokenLabel tokenBalance = new TokenLabel(site);
|
||||
tokenPanel = new HBox(5, tokenBalance, buyTokens);
|
||||
tokenPanel.setAlignment(Pos.BASELINE_RIGHT);
|
||||
|
|
|
@ -55,7 +55,7 @@ public class TipDialog extends TextInputDialog {
|
|||
buyTokens.showAndWait();
|
||||
TipDialog.this.close();
|
||||
if(buyTokens.getResult() == ButtonType.YES) {
|
||||
DesktopIntergation.open(Chaturbate.AFFILIATE_LINK);
|
||||
DesktopIntegration.open(Chaturbate.AFFILIATE_LINK);
|
||||
}
|
||||
} else {
|
||||
getEditor().setDisable(false);
|
||||
|
|
|
@ -27,7 +27,7 @@ public class UpdateTab extends Tab {
|
|||
vbox.getChildren().add(l);
|
||||
VBox.setMargin(l, new Insets(20, 0, 0, 0));
|
||||
Button button = new Button("Download");
|
||||
button.setOnAction((e) -> DesktopIntergation.open(latest.getHtmlUrl()));
|
||||
button.setOnAction((e) -> DesktopIntegration.open(latest.getHtmlUrl()));
|
||||
vbox.getChildren().add(button);
|
||||
VBox.setMargin(button, new Insets(0, 0, 10, 0));
|
||||
vbox.setAlignment(Pos.CENTER);
|
||||
|
|
Loading…
Reference in New Issue