]> git.pld-linux.org Git - packages/galeon.git/commitdiff
- updated to galeon-1.3.13a
authorgrzegol <grzegol@pld-linux.org>
Tue, 17 Feb 2004 15:13:19 +0000 (15:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    galeon-home_etc.patch -> 1.3

galeon-home_etc.patch

index b6728740312675400847868e03534b3641214c8f..0d36b11ee0d83eac95c60c7eed09d24cc583a6b9 100644 (file)
@@ -47,30 +47,28 @@ diff -Nru galeon-1.3.10.orig/embed/global-history.c galeon-1.3.10/embed/global-h
          gchar *histfile;
  
        /* build the filename */
--        confdir = g_build_filename (g_get_home_dir (), GALEON_DIR, NULL);
-+        confdir = g_build_filename (home_etc ? home_etc : g_get_home_dir (), GALEON_DIR, NULL);
-       histfile = g_build_filename (confdir, "history.xml", NULL);
+-      histfile = g_build_filename (g_get_home_dir (), GALEON_DIR, 
++      histfile = g_build_filename (home_etc ? home_etc : g_get_home_dir (), GALEON_DIR, 
+                                    "history.xml", NULL);
        
        /* build the initial history hash table */
-@@ -526,7 +527,8 @@
- static void 
+@@ -526,6 +527,7 @@
  history_save (GlobalHistoryPrivate *ghpriv)
  {
--        gchar *histfile;
-+      gchar *histfile;
+       gchar *histfile, *tmpfile;
 +      gchar *home_etc = getenv("HOME_ETC");
        FILE *fp;
+       int ret;
  
-       DEBUG_MSG (("saving history\n"));
 @@ -538,7 +540,7 @@
+               return;
+       }
  
-       DEBUG_MSG (("really\n"));
--      histfile = g_strconcat (g_get_home_dir (), 
-+      histfile = g_strconcat (home_etc ? home_etc : g_get_home_dir (), 
-                               "/"GALEON_DIR"/history.xml", NULL);
-       fp = fopen (histfile, "wb");
-       g_free (histfile);
+-      histfile = g_build_filename (g_get_home_dir (),
++      histfile = g_build_filename (home_etc ? home_etc : g_get_home_dir (),
+                                    GALEON_DIR,
+                                    "history.xml",
+                                    NULL);
 diff -Nru galeon-1.3.10.orig/galeon-config-tool.in galeon-1.3.10/galeon-config-tool.in
 --- galeon-1.3.10.orig/galeon-config-tool.in   2002-03-14 08:40:24.000000000 +0100
 +++ galeon-1.3.10/galeon-config-tool.in        2003-11-13 12:26:57.000000000 +0100
This page took 0.035108 seconds and 4 git commands to generate.