]> git.pld-linux.org Git - packages/galeon.git/blob - galeon-mozilla_five_home.patch
- added galeon-config-tool.1 man page from Debian
[packages/galeon.git] / galeon-mozilla_five_home.patch
1 --- galeon-1.2.0/src/main.c     Mon Feb 25 22:48:51 2002
2 +++ galeon-1.2.0/src/main.c.orig        Fri Apr  5 21:53:37 2002
3 @@ -49,6 +49,8 @@
4  #ifdef ENABLE_APPLET
5  #include <applet-widget.h>
6  #endif
7 +#include <stdlib.h>
8 +#include <errno.h>
9  #ifdef ENABLE_GNOME_FILE_SELECTOR
10  #include <bonobo/bonobo-main.h>
11  #endif /* !ENABLE_GNOME_FILE_SELECTOR */
12 @@ -182,6 +184,10 @@
13         CORBA_ORB orb;
14         gint i, n_urls;
15         gchar **url;
16 +       
17 +        /* Setting MOZILLA_FIVE_HOME */
18 +               if (getenv("MOZILLA_FIVE_HOME") == NULL)
19 +                   setenv("MOZILLA_FIVE_HOME", "/usr/X11R6/lib/mozilla/", 1);
20  
21          /* make stdout line buffered - we only use it for debug info */
22         setvbuf (stdout, NULL, _IOLBF, 0);
This page took 0.080525 seconds and 3 git commands to generate.