aboutsummaryrefslogtreecommitdiff
path: root/plugins/openpgp
diff options
context:
space:
mode:
authorfiaxh <fiaxh@users.noreply.github.com>2019-06-06 15:33:35 +0200
committerGitHub <noreply@github.com>2019-06-06 15:33:35 +0200
commit34f9677c4e5384c9b823ce76c3dbeb143a3ff625 (patch)
treebc93b7b594014e1c334d5f2d7e4a694407cbf622 /plugins/openpgp
parent7097a7185261f2ae4e9555744c4c75703238c699 (diff)
parentce8f343297ce2e3a6c93040b18346b58f1d744e9 (diff)
downloaddino-34f9677c4e5384c9b823ce76c3dbeb143a3ff625.tar.gz
dino-34f9677c4e5384c9b823ce76c3dbeb143a3ff625.zip
Merge pull request #570 from hrxi/pr_typos
Fix a couple of typos and one network typo
Diffstat (limited to 'plugins/openpgp')
-rw-r--r--plugins/openpgp/src/in_file_processor.vala2
-rw-r--r--plugins/openpgp/src/plugin.vala2
-rw-r--r--plugins/openpgp/src/stream_flag.vala3
3 files changed, 3 insertions, 4 deletions
diff --git a/plugins/openpgp/src/in_file_processor.vala b/plugins/openpgp/src/in_file_processor.vala
index 568315f9..918f824a 100644
--- a/plugins/openpgp/src/in_file_processor.vala
+++ b/plugins/openpgp/src/in_file_processor.vala
@@ -2,7 +2,7 @@ using Dino.Entities;
namespace Dino.Plugins.OpenPgp {
-public class InFileProcessor : IncommingFileProcessor, Object {
+public class InFileProcessor : IncomingFileProcessor, Object {
public bool can_process(FileTransfer file_transfer) {
return file_transfer.file_name.has_suffix("pgp") || file_transfer.mime_type == "application/pgp-encrypted";
}
diff --git a/plugins/openpgp/src/plugin.vala b/plugins/openpgp/src/plugin.vala
index adf2ecc7..1d4f5203 100644
--- a/plugins/openpgp/src/plugin.vala
+++ b/plugins/openpgp/src/plugin.vala
@@ -30,7 +30,7 @@ public class Plugin : Plugins.RootInterface, Object {
Manager.start(app.stream_interactor, db);
app.stream_interactor.get_module(FileManager.IDENTITY).add_outgoing_processor(new OutFileProcessor(app.stream_interactor));
- app.stream_interactor.get_module(FileManager.IDENTITY).add_incomming_processor(new InFileProcessor());
+ app.stream_interactor.get_module(FileManager.IDENTITY).add_incoming_processor(new InFileProcessor());
internationalize(GETTEXT_PACKAGE, app.search_path_generator.get_locale_path(GETTEXT_PACKAGE, LOCALE_INSTALL_DIR));
}
diff --git a/plugins/openpgp/src/stream_flag.vala b/plugins/openpgp/src/stream_flag.vala
index 8593fa9d..df598625 100644
--- a/plugins/openpgp/src/stream_flag.vala
+++ b/plugins/openpgp/src/stream_flag.vala
@@ -1,7 +1,6 @@
using Gee;
using Xmpp;
-using Xmpp;
namespace Dino.Plugins.OpenPgp {
@@ -19,4 +18,4 @@ public class Flag : XmppStreamFlag {
public override string get_id() { return IDENTITY.id; }
}
-} \ No newline at end of file
+}