[aisleriot] Revert "Don't set ubuntu-specific environment variables"



commit f97380707d4a10229f74648c832976eedbf3c85d
Author: Christian Persch <chpe gnome org>
Date:   Tue Oct 28 12:32:48 2014 +0100

    Revert "Don't set ubuntu-specific environment variables"
    
    This reverts commit 60fa0016ad1b27d85953ed1efd386d21f67fb1fe.
    
    That commit was unauthorised.

 src/sol.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/sol.c b/src/sol.c
index 7c5876d..993baa9 100644
--- a/src/sol.c
+++ b/src/sol.c
@@ -162,6 +162,14 @@ main (int argc, char *argv[])
   g_setenv ("GUILE_WARN_DEPRECATED", "detailed", TRUE);
   g_setenv ("GUILE_AUTO_COMPILE", "0", TRUE);
 
+  /* Set some env vars to disable ubuntu crap. They'll certainly patch this
+   * out in their package, but anyone running from git will get the right
+   * behaviour.
+   */
+  g_setenv ("LIBOVERLAY_SCROLLBAR", "0", TRUE);
+  g_setenv ("UBUNTU_MENUPROXY", "0", TRUE);
+  g_setenv ("NO_UNITY_GTK_MODULE", "1", TRUE);
+
   scm_boot_guile (argc, argv, main_prog, NULL); /* no return */
 
   return 0;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]