mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-08-01 04:06:22 +00:00
Added check for libgpgme on account autocomplete
This commit is contained in:
@@ -3609,6 +3609,7 @@ _account_autocomplete(ProfWin *window, const char * const input)
|
|||||||
g_strfreev(args);
|
g_strfreev(args);
|
||||||
return found;
|
return found;
|
||||||
}
|
}
|
||||||
|
#ifdef HAVE_LIBGPGME
|
||||||
} else if ((g_strv_length(args) > 3) && (g_strcmp0(args[2], "pgpkeyid")) == 0) {
|
} else if ((g_strv_length(args) > 3) && (g_strcmp0(args[2], "pgpkeyid")) == 0) {
|
||||||
g_string_append(beginning, " ");
|
g_string_append(beginning, " ");
|
||||||
g_string_append(beginning, args[2]);
|
g_string_append(beginning, args[2]);
|
||||||
@@ -3618,6 +3619,7 @@ _account_autocomplete(ProfWin *window, const char * const input)
|
|||||||
g_strfreev(args);
|
g_strfreev(args);
|
||||||
return found;
|
return found;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
} else {
|
} else {
|
||||||
found = autocomplete_param_with_ac(input, beginning->str, account_set_ac, TRUE);
|
found = autocomplete_param_with_ac(input, beginning->str, account_set_ac, TRUE);
|
||||||
g_string_free(beginning, TRUE);
|
g_string_free(beginning, TRUE);
|
||||||
|
|||||||
Reference in New Issue
Block a user