aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/file_send_overlay.vala
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/file_send_overlay.vala')
-rw-r--r--main/src/ui/file_send_overlay.vala14
1 files changed, 7 insertions, 7 deletions
diff --git a/main/src/ui/file_send_overlay.vala b/main/src/ui/file_send_overlay.vala
index 39e57f80..e92cf836 100644
--- a/main/src/ui/file_send_overlay.vala
+++ b/main/src/ui/file_send_overlay.vala
@@ -48,13 +48,6 @@ public class FileSendOverlay : Gtk.EventBox {
});
}
- public void set_file_too_large() {
- info_label.label= _("The file exceeds the server's maximum upload size.");
- Util.force_error_color(info_label);
- send_button.sensitive = false;
- can_send = false;
- }
-
private async void load_file_widget(File file, FileInfo file_info) {
string file_name = file_info.get_display_name();
string mime_type = file_info.get_content_type();
@@ -87,6 +80,13 @@ public class FileSendOverlay : Gtk.EventBox {
file_widget_insert.add(widget);
}
+
+ public void set_file_too_large() {
+ info_label.label= _("The file exceeds the server's maximum upload size.");
+ Util.force_error_color(info_label);
+ send_button.sensitive = false;
+ can_send = false;
+ }
}
}