aboutsummaryrefslogtreecommitdiff
path: root/src/arctica-greeter.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/arctica-greeter.vala')
-rw-r--r--src/arctica-greeter.vala38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala
index a98f25f..adbe582 100644
--- a/src/arctica-greeter.vala
+++ b/src/arctica-greeter.vala
@@ -724,25 +724,25 @@ public class ArcticaGreeter
}
}
-// /* Make nm-applet hide items the user does not have permissions to interact with */
-// Environment.set_variable ("NM_APPLET_HIDE_POLICY_ITEMS", "1", true);
-//
-// try
-// {
-// string[] argv;
-//
-// Shell.parse_argv ("nm-applet", out argv);
-// Process.spawn_async (null,
-// argv,
-// null,
-// SpawnFlags.SEARCH_PATH,
-// null,
-// out nmapplet_pid);
-// }
-// catch (Error e)
-// {
-// warning ("Error starting the Network Manager Applet: %s", e.message);
-// }
+ /* Make nm-applet hide items the user does not have permissions to interact with */
+ Environment.set_variable ("NM_APPLET_HIDE_POLICY_ITEMS", "1", true);
+
+ try
+ {
+ string[] argv;
+
+ Shell.parse_argv ("nm-applet --indicators", out argv);
+ Process.spawn_async (null,
+ argv,
+ null,
+ SpawnFlags.SEARCH_PATH,
+ null,
+ out nmapplet_pid);
+ }
+ catch (Error e)
+ {
+ warning ("Error starting the Network Manager Applet: %s", e.message);
+ }
}
else