diff options
| author | Jörg Frings-Fürst <debian@jff.email> | 2026-03-08 11:11:07 +0100 |
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff.email> | 2026-03-08 11:11:07 +0100 |
| commit | 210cc61ee4191465805a770881235c677041f929 (patch) | |
| tree | 22dfc8a656a39b95dba2b537f11dcbe36b5c6f0c /src/plugins | |
| parent | 7868ff68cff97b21fe6d8681f8bc0334849c4d38 (diff) | |
New upstream version 0.32.15upstream/0.32.15upstream
Diffstat (limited to 'src/plugins')
| -rw-r--r-- | src/plugins/Plugins.vala | 10 | ||||
| -rw-r--r-- | src/plugins/SpitInterfaces.vala | 2 |
2 files changed, 3 insertions, 9 deletions
diff --git a/src/plugins/Plugins.vala b/src/plugins/Plugins.vala index cfab7e8..7078680 100644 --- a/src/plugins/Plugins.vala +++ b/src/plugins/Plugins.vala @@ -300,13 +300,6 @@ public int compare_extension_point_names(ExtensionPoint a, ExtensionPoint b) { return a.name.collate(b.name); } -private bool is_shared_library(File file) { - string name, ext; - disassemble_filename(file.get_basename(), out name, out ext); - - return ext == Module.SUFFIX; -} - private void search_for_plugins(File dir) throws Error { debug("Searching %s for plugins…", dir.get_path()); @@ -334,8 +327,9 @@ private void search_for_plugins(File dir) throws Error { break; case FileType.REGULAR: - if (is_shared_library(file)) + if (info.get_content_type() == "application/x-sharedlib") { load_module(file); + } break; default: diff --git a/src/plugins/SpitInterfaces.vala b/src/plugins/SpitInterfaces.vala index 94e6f95..0eabdd1 100644 --- a/src/plugins/SpitInterfaces.vala +++ b/src/plugins/SpitInterfaces.vala @@ -172,7 +172,7 @@ public class PluggableInfo : Object { public string? copyright {get; set; } public string? license_blurp { get; set; default = _("LGPL v2.1 or later"); } public string? license_url { get; set; default = "https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html"; } - public string? website_url {get; set; default = "https://wiki.gnome.org/Apps/Shotwell";} + public string? website_url {get; set; default = "https://shotwell-project.org";} public string? website_name { get; set; default = _("Visit the Shotwell home page");} public string? translators {get; set; default = _("translator-credits"); } |
