aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-05-17 16:45:44 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-05-17 16:45:44 +0200
commitaa15b9427f7e8583463440f9c89e1919b81cfcd0 (patch)
treedf3ab8bed4ed231af7ea537085eeedb5e93386e2
parent8dd317d9572ce879b62bb311863b7c08a2547fe7 (diff)
downloadarctica-greeter-aa15b9427f7e8583463440f9c89e1919b81cfcd0.tar.gz
arctica-greeter-aa15b9427f7e8583463440f9c89e1919b81cfcd0.tar.bz2
arctica-greeter-aa15b9427f7e8583463440f9c89e1919b81cfcd0.zip
Disable nm-applet while we are not able to pipe it into ayatana-indicator-application.
-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 25cf962..c4e3a45 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", 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