Add size for incoming files
This commit is contained in:
parent
595902355e
commit
bec8a5b69f
|
@ -50,7 +50,7 @@ public class FileDefaultWidget : Box {
|
||||||
|
|
||||||
switch (state) {
|
switch (state) {
|
||||||
case FileTransfer.State.COMPLETE:
|
case FileTransfer.State.COMPLETE:
|
||||||
mime_label.label = mime_description;
|
mime_label.label = _("%s offered: %s").printf(mime_description, get_size_string(size));
|
||||||
image_stack.set_visible_child_name("content_type_image");
|
image_stack.set_visible_child_name("content_type_image");
|
||||||
|
|
||||||
// Create a menu
|
// Create a menu
|
||||||
|
|
Loading…
Reference in a new issue