aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src-sus/applet-main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src-sus/applet-main.c b/src-sus/applet-main.c
index 2aa03ee..34440d8 100644
--- a/src-sus/applet-main.c
+++ b/src-sus/applet-main.c
@@ -281,8 +281,12 @@ applet_fill_cb (PanelApplet * applet, const gchar * iid, gpointer data)
const gchar * name;
while ((name = g_dir_read_name(dir)) != NULL) {
- if (load_module(name, menubar))
- indicators_loaded++;
+ if (g_strcmp0(name, "libstatus-users-session.so")) {
+ continue;
+ }
+ if (load_module(name, menubar)) {
+ indicators_loaded++;
+ }
}
g_dir_close (dir);
}