[Xfce4-commits] <midori:master> Rename HTML import function from mozilla to netscape to be more consistent.

Christian Dywan noreply at xfce.org
Sun Jan 30 19:00:01 CET 2011


Updating branch refs/heads/master
         to 74bb09b8c7f4909ef5b6e04630d3f117e57bb90e (commit)
       from 1b5d01241c35bff4fbb7c331996c786d730e4589 (commit)

commit 74bb09b8c7f4909ef5b6e04630d3f117e57bb90e
Author: Paweł Forysiuk <tuxator at o2.pl>
Date:   Sun Jan 30 11:16:34 2011 +0100

    Rename HTML import function from mozilla to netscape to be more consistent.

 midori/midori-array.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/midori/midori-array.c b/midori/midori-array.c
index f6495e5..7e5f0f9 100644
--- a/midori/midori-array.c
+++ b/midori/midori-array.c
@@ -294,7 +294,7 @@ katze_array_from_xmlDocPtr (KatzeArray* array,
 }
 
 static gboolean
-katze_array_from_mozilla_file (KatzeArray*  array,
+katze_array_from_netscape_file (KatzeArray* array,
                                const gchar* filename)
 {
     gchar* line  = NULL;
@@ -489,7 +489,7 @@ midori_array_from_file (KatzeArray*  array,
     if (!format)
         format = "";
 
-    /* mozilla html */
+    /* netscape html */
     if (!*format && g_str_has_suffix (filename, ".html"))
     {
         FILE* file;
@@ -501,7 +501,7 @@ midori_array_from_file (KatzeArray*  array,
                 g_strstrip (line);
                 if (katze_str_equal (line, "<!DOCTYPE NETSCAPE-Bookmark-file-1>"))
                 {
-                    if (!katze_array_from_mozilla_file (array, filename))
+                    if (!katze_array_from_netscape_file (array, filename))
                     {
                         /* Parsing failed */
                         fclose (file);



More information about the Xfce4-commits mailing list