Revision: 26767
          http://sourceforge.net/p/bibdesk/svn/26767
Author:   hofman
Date:     2021-08-29 21:25:49 +0000 (Sun, 29 Aug 2021)
Log Message:
-----------
Prefer more traditional favicon types rather than iOS types.

Modified Paths:
--------------
    trunk/bibdesk/BDSKWebView.m
    trunk/bibdesk/BibDeskHelp/applehelp.init
    trunk/bibdesk/de.lproj/WebGroupDownloads.html
    trunk/bibdesk/de.lproj/WebGroupStartPage.html
    trunk/bibdesk/en.lproj/WebGroupDownloads.html
    trunk/bibdesk/en.lproj/WebGroupStartPage.html
    trunk/bibdesk/fr.lproj/WebGroupDownloads.html
    trunk/bibdesk/fr.lproj/WebGroupStartPage.html

Modified: trunk/bibdesk/BDSKWebView.m
===================================================================
--- trunk/bibdesk/BDSKWebView.m 2021-08-29 14:38:43 UTC (rev 26766)
+++ trunk/bibdesk/BDSKWebView.m 2021-08-29 21:25:49 UTC (rev 26767)
@@ -181,7 +181,7 @@
     for (DOMElement *node in nodes) {
         NSString *url = [node getAttribute:@"href"];
         if (url == nil) continue;
-        NSUInteger type = [[NSArray arrayWithObjects:@"apple-touch-icon", 
@"apple-touch-icon-precomposed", @"shortcut icon", @"icon", nil] 
indexOfObject:[node getAttribute:@"rel"]];
+        NSUInteger type = [[NSArray arrayWithObjects:@"icon", @"shortcut 
icon", @"apple-touch-icon", @"apple-touch-icon-precomposed", nil] 
indexOfObject:[node getAttribute:@"rel"]];
         NSArray *sizes = [[node getAttribute:@"sizes"] 
componentsSeparatedByString:@" "];
         BOOL foundSize = NO;
         for (NSString *sizeString in sizes) {

Modified: trunk/bibdesk/BibDeskHelp/applehelp.init
===================================================================
--- trunk/bibdesk/BibDeskHelp/applehelp.init    2021-08-29 14:38:43 UTC (rev 
26766)
+++ trunk/bibdesk/BibDeskHelp/applehelp.init    2021-08-29 21:25:49 UTC (rev 
26767)
@@ -9,6 +9,9 @@
 # External stylesheet:
 $CSS_LINES = "<link href=\"sty/bibdeskhelp.css\" rel=\"stylesheet\" 
media=\"all\" />";
 
+# Favicon:
+$FAVICON_LINES = "<link rel=\"icon\" href=\"gfx/BibDeskIcon.png\" />";
+
 #@CHAPTER_BUTTONS = @MISC_BUTTONS;
 
 # horizontal rules
@@ -124,7 +127,7 @@
 <meta name="distribution" content="global" />
 <meta name="Generator" content="$Texi2HTML::THISDOC{program}" />
 <meta name="robots" content="anchors" />
-<link rel="shortcut icon" href="gfx/BibDeskIcon.png" />
+$FAVICON_LINES
 $encoding
 $CSS_LINES
 $EXTRA_HEAD
@@ -166,7 +169,7 @@
 <meta name="resource-type" content="document" />
 <meta name="distribution" content="global" />
 <meta name="Generator" content="$Texi2HTML::THISDOC{program}" />
-<link rel="shortcut icon" href="gfx/BibDeskIcon.png" />
+$FAVICON_LINES
 $encoding
 $CSS_LINES
 $EXTRA_HEAD

Modified: trunk/bibdesk/de.lproj/WebGroupDownloads.html
===================================================================
--- trunk/bibdesk/de.lproj/WebGroupDownloads.html       2021-08-29 14:38:43 UTC 
(rev 26766)
+++ trunk/bibdesk/de.lproj/WebGroupDownloads.html       2021-08-29 21:25:49 UTC 
(rev 26767)
@@ -2,7 +2,7 @@
 <html>
        <head>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
-    <link rel="shortcut icon" href="bibdesk:image:bibdesk" />
+    <link rel="icon" href="bibdesk:image:bibdesk" />
 <!-- Localize title -->
        <title>Downloads</title>
        <style type="text/css">

Modified: trunk/bibdesk/de.lproj/WebGroupStartPage.html
===================================================================
--- trunk/bibdesk/de.lproj/WebGroupStartPage.html       2021-08-29 14:38:43 UTC 
(rev 26766)
+++ trunk/bibdesk/de.lproj/WebGroupStartPage.html       2021-08-29 21:25:49 UTC 
(rev 26767)
@@ -2,7 +2,7 @@
 <html>
        <head>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
-    <link rel="shortcut icon" href="bibdesk:image:bibdesk" />
+    <link rel="icon" href="bibdesk:image:bibdesk" />
 <!-- Localize title -->
        <title>BibDesk Web Group</title>
        <style type="text/css">

Modified: trunk/bibdesk/en.lproj/WebGroupDownloads.html
===================================================================
--- trunk/bibdesk/en.lproj/WebGroupDownloads.html       2021-08-29 14:38:43 UTC 
(rev 26766)
+++ trunk/bibdesk/en.lproj/WebGroupDownloads.html       2021-08-29 21:25:49 UTC 
(rev 26767)
@@ -2,7 +2,7 @@
 <html>
        <head>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
-    <link rel="shortcut icon" href="bibdesk:image:bibdesk" />
+    <link rel="icon" href="bibdesk:image:bibdesk" />
 <!-- Localize title -->
        <title>Downloads</title>
        <style type="text/css">

Modified: trunk/bibdesk/en.lproj/WebGroupStartPage.html
===================================================================
--- trunk/bibdesk/en.lproj/WebGroupStartPage.html       2021-08-29 14:38:43 UTC 
(rev 26766)
+++ trunk/bibdesk/en.lproj/WebGroupStartPage.html       2021-08-29 21:25:49 UTC 
(rev 26767)
@@ -2,7 +2,7 @@
 <html>
        <head>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
-    <link rel="shortcut icon" href="bibdesk:image:bibdesk" />
+    <link rel="icon" href="bibdesk:image:bibdesk" />
 <!-- Localize title -->
        <title>BibDesk Web Group</title>
        <style type="text/css">

Modified: trunk/bibdesk/fr.lproj/WebGroupDownloads.html
===================================================================
--- trunk/bibdesk/fr.lproj/WebGroupDownloads.html       2021-08-29 14:38:43 UTC 
(rev 26766)
+++ trunk/bibdesk/fr.lproj/WebGroupDownloads.html       2021-08-29 21:25:49 UTC 
(rev 26767)
@@ -2,7 +2,7 @@
 <html>
        <head>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
-    <link rel="shortcut icon" href="bibdesk:image:bibdesk" />
+    <link rel="icon" href="bibdesk:image:bibdesk" />
 <!-- Localize title -->
        <title>Downloads</title>
        <style type="text/css">

Modified: trunk/bibdesk/fr.lproj/WebGroupStartPage.html
===================================================================
--- trunk/bibdesk/fr.lproj/WebGroupStartPage.html       2021-08-29 14:38:43 UTC 
(rev 26766)
+++ trunk/bibdesk/fr.lproj/WebGroupStartPage.html       2021-08-29 21:25:49 UTC 
(rev 26767)
@@ -2,7 +2,7 @@
 <html>
        <head>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
-    <link rel="shortcut icon" href="bibdesk:image:bibdesk" />
+    <link rel="icon" href="bibdesk:image:bibdesk" />
 <!-- Localize title -->
        <title>BibDesk Web Group</title>
        <style type="text/css">

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to