aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-07 17:41:21 +0100
committerTed Gould <ted@canonical.com>2009-08-07 17:41:21 +0100
commit6c07c799edd3a1413145e0f29c2547698d861715 (patch)
tree3ff750ff9c5bbddd7a9cad2063d5d958fc6bdbba /src
parent3bb78064ad72b0f49b67e306dc3ba428c9abcfb3 (diff)
downloadlibayatana-indicator-6c07c799edd3a1413145e0f29c2547698d861715.tar.gz
libayatana-indicator-6c07c799edd3a1413145e0f29c2547698d861715.tar.bz2
libayatana-indicator-6c07c799edd3a1413145e0f29c2547698d861715.zip
Blocking out SUS from standard applet.
Diffstat (limited to 'src')
-rw-r--r--src/applet-main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/applet-main.c b/src/applet-main.c
index 2aa03ee..3048e83 100644
--- a/src/applet-main.c
+++ b/src/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))
+ if (!g_strcmp0(name, "libstatus-users-session.so")) {
+ continue;
+ }
+ if (load_module(name, menubar)) {
indicators_loaded++;
+ }
}
g_dir_close (dir);
}