aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/status-items.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/status-items.c b/src/status-items.c
index 3e27529..5e8a07c 100644
--- a/src/status-items.c
+++ b/src/status-items.c
@@ -107,6 +107,10 @@ provider_directory_parse (gpointer directory)
const gchar * name;
while ((name = g_dir_read_name(dir)) != NULL) {
+ if (!g_str_has_suffix(name, ".so")) {
+ continue;
+ }
+
gchar * fullname = g_build_filename(dirname, name, NULL);
g_idle_add(load_status_provider, fullname);
}