diff options
Diffstat (limited to 'main/src/ui')
-rw-r--r-- | main/src/ui/conversation_content_view/file_widget.vala | 3 | ||||
-rw-r--r-- | main/src/ui/notifier_freedesktop.vala | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/main/src/ui/conversation_content_view/file_widget.vala b/main/src/ui/conversation_content_view/file_widget.vala index 7d77ba11..5766ec25 100644 --- a/main/src/ui/conversation_content_view/file_widget.vala +++ b/main/src/ui/conversation_content_view/file_widget.vala @@ -175,6 +175,9 @@ public class FileDefaultWidgetController : Object { assert(stream_interactor != null && file_transfer != null); stream_interactor.get_module(FileManager.IDENTITY).download_file.begin(file_transfer); break; + default: + // Clicking doesn't do anything in FAILED and IN_PROGRESS states + break; } return false; } diff --git a/main/src/ui/notifier_freedesktop.vala b/main/src/ui/notifier_freedesktop.vala index 634f331b..48313be3 100644 --- a/main/src/ui/notifier_freedesktop.vala +++ b/main/src/ui/notifier_freedesktop.vala @@ -200,6 +200,8 @@ public class Dino.Ui.FreeDesktopNotifier : NotificationProvider, Object { case ConnectionManager.ConnectionError.Source.TLS: body = _("Invalid TLS certificate"); break; + default: + break; } HashTable<string, Variant> hash_table = new HashTable<string, Variant>(null, null); |