Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 21 lines 813 B view raw
1diff --git a/lib/IndicatorManager.vala b/lib/IndicatorManager.vala 2index a99a1ec..0ae7799 100644 3--- a/lib/IndicatorManager.vala 4+++ b/lib/IndicatorManager.vala 5@@ -115,7 +115,15 @@ public class Wingpanel.IndicatorManager : GLib.Object { 6 } 7 8 /* load indicators */ 9- var base_folder = File.new_for_path (Build.INDICATORS_DIR); 10+ 11+ var indicators_path = Environment.get_variable("WINGPANEL_INDICATORS_PATH"); 12+ if (indicators_path != null) { 13+ debug ("WINGPANEL_INDICATORS_PATH set to %s", indicators_path); 14+ } else { 15+ critical ("WINGPANEL_INDICATORS_PATH not set"); 16+ } 17+ 18+ var base_folder = File.new_for_path (indicators_path); 19 20 try { 21 monitor = base_folder.monitor_directory (FileMonitorFlags.NONE, null);