mirror of
https://github.com/tonikelope/megabasterd.git
synced 2025-04-29 22:24:32 +02:00
6.86
Fix TOP/BOTTOM BUTTONS
This commit is contained in:
parent
999a898bb1
commit
4eaa65b148
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
@ -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) {
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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...");
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
});
|
||||
|
||||
}
|
||||
|
@ -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 |
Loading…
x
Reference in New Issue
Block a user