aboutsummaryrefslogtreecommitdiff
path: root/src-sus/applet-main.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-07 17:43:09 +0100
committerTed Gould <ted@canonical.com>2009-08-07 17:43:09 +0100
commit65df6f19b921da2a6d54062df20fa96182005994 (patch)
treecede64a870acc2594e8749694d4d90c463c2884b /src-sus/applet-main.c
parent6c07c799edd3a1413145e0f29c2547698d861715 (diff)
downloadlibayatana-indicator-65df6f19b921da2a6d54062df20fa96182005994.tar.gz
libayatana-indicator-65df6f19b921da2a6d54062df20fa96182005994.tar.bz2
libayatana-indicator-65df6f19b921da2a6d54062df20fa96182005994.zip
Loading only the SUS plugin.
Diffstat (limited to 'src-sus/applet-main.c')
-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);
}