Fix TOP/BOTTOM BUTTONS
This commit is contained in:
tonikelope 2019-12-19 11:31:33 +01:00
parent 999a898bb1
commit 4eaa65b148
8 changed files with 10 additions and 6 deletions

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.tonikelope</groupId>
<artifactId>MegaBasterd</artifactId>
<version>6.85</version>
<version>6.86</version>
<packaging>jar</packaging>
<dependencies>
<dependency>

View File

@ -667,9 +667,9 @@ public class Download implements Transference, Runnable, SecureSingleThreadNotif
}
}
} while (!isExit() && progress < getFile_size() && (isPaused() || progress > last_progress));
} while (!isExit() && !_thread_pool.isShutdown() && progress < getFile_size() && (isPaused() || progress > last_progress));
if (!isExit() && _status_error == null && progress < getFile_size() && progress <= last_progress) {
if (!isExit() && !_thread_pool.isShutdown() && _status_error == null && progress < getFile_size() && progress <= last_progress) {
stopDownloader("PROGRESS WATCHDOG TIMEOUT!");
if (MainPanel.getProxy_manager() != null) {

View File

@ -122,7 +122,7 @@ public class DownloadView extends javax.swing.JPanel implements TransferenceView
status_label.setText("");
for (JComponent c : new JComponent[]{queue_up_button, queue_down_button, slots_spinner, slots_label, pause_button, stop_button, speed_label, progress_pbar, keep_temp_checkbox, file_name_label, close_button, copy_link_button, restart_button, file_size_label, open_folder_button}) {
for (JComponent c : new JComponent[]{queue_top_button, queue_bottom_button, queue_up_button, queue_down_button, slots_spinner, slots_label, pause_button, stop_button, speed_label, progress_pbar, keep_temp_checkbox, file_name_label, close_button, copy_link_button, restart_button, file_size_label, open_folder_button}) {
c.setVisible(false);
}

View File

@ -44,6 +44,8 @@ public class LabelTranslatorSingleton {
_addTranslation("Split content in different uploads", "Separar contenido en diferentes subidas");
_addTranslation("Merge content in the same upload", "Juntar todo en la misma subida");
_addTranslation("How do you want to proceed?", "¿Qué quieres hacer?");
_addTranslation("TOP", "ENCIMA DE TODO");
_addTranslation("BOTTOM", "DEBAJO DE TODO");
_addTranslation("Freeze transferences before start", "Congelar transferencias antes de empezar");
_addTranslation("UNFREEZE WAITING TRANSFERENCES", "DESCONGELAR TRANSFERENCIAS A LA ESPERA");
_addTranslation("(FROZEN) Waiting to start...", "(CONGELADA) Esperando para empezar...");

View File

@ -53,7 +53,7 @@ import javax.swing.UIManager;
*/
public final class MainPanel {
public static final String VERSION = "6.85";
public static final String VERSION = "6.86";
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
public static final int STREAMER_PORT = 1337;

View File

@ -460,6 +460,8 @@ public class Upload implements Transference, Runnable, SecureSingleThreadNotifia
getView().getClose_button().setVisible(true);
getView().getQueue_down_button().setVisible(true);
getView().getQueue_up_button().setVisible(true);
getView().getQueue_top_button().setVisible(true);
getView().getQueue_bottom_button().setVisible(true);
});
}

View File

@ -120,7 +120,7 @@ public class UploadView extends javax.swing.JPanel implements TransferenceView {
status_label.setText("");
for (JComponent c : new JComponent[]{cbc_label, slots_spinner, slots_label, pause_button, stop_button, speed_label, progress_pbar, file_name_label, close_button, restart_button, file_size_label}) {
for (JComponent c : new JComponent[]{queue_up_button, queue_down_button, queue_top_button, queue_bottom_button, cbc_label, slots_spinner, slots_label, pause_button, stop_button, speed_label, progress_pbar, file_name_label, close_button, restart_button, file_size_label}) {
c.setVisible(false);
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 KiB

After

Width:  |  Height:  |  Size: 194 KiB