From c0190e41f7f2e5fe30fa8556fa35f43950afbfdb Mon Sep 17 00:00:00 2001
From: adjam <adjam@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Date: Sun, 3 May 2009 23:51:22 +0000
Subject: Importing recode (rekonq code). I'm sorry I coudn't perform this with
 gitsvn or tailor.. but I cannot lose all the evening just for this. And I
 need to sleep now..

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/playground/network/rekonq@963146 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
---
 data/CMakeLists.txt        |  24 +++++++++++++++++
 data/defaultbookmarks.xbel |  22 +++++++++++++++
 data/loading.gif           | Bin 0 -> 847 bytes
 data/notfound.html         |  66 +++++++++++++++++++++++++++++++++++++++++++++
 data/rekonq.desktop        |  12 +++++++++
 data/slack-desc            |  12 +++++++++
 data/webkit-icon.png       | Bin 0 -> 25694 bytes
 7 files changed, 136 insertions(+)
 create mode 100644 data/CMakeLists.txt
 create mode 100644 data/defaultbookmarks.xbel
 create mode 100644 data/loading.gif
 create mode 100644 data/notfound.html
 create mode 100644 data/rekonq.desktop
 create mode 100644 data/slack-desc
 create mode 100644 data/webkit-icon.png

(limited to 'data')

diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
new file mode 100644
index 00000000..e4535e07
--- /dev/null
+++ b/data/CMakeLists.txt
@@ -0,0 +1,24 @@
+INSTALL( 
+    FILES loading.gif
+    DESTINATION ${DATA_INSTALL_DIR}/rekonq/pics
+)
+
+INSTALL( 
+    FILES defaultbookmarks.xbel
+    DESTINATION ${DATA_INSTALL_DIR}/rekonq
+)
+
+INSTALL( 
+    FILES rekonq.desktop 
+    DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
+
+INSTALL( 
+    FILES notfound.html
+    DESTINATION ${DATA_INSTALL_DIR}/rekonq/htmls
+)
+
+INSTALL( 
+    FILES webkit-icon.png
+    DESTINATION ${DATA_INSTALL_DIR}/rekonq/pics
+)
\ No newline at end of file
diff --git a/data/defaultbookmarks.xbel b/data/defaultbookmarks.xbel
new file mode 100644
index 00000000..b4919c5c
--- /dev/null
+++ b/data/defaultbookmarks.xbel
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE xbel>
+<xbel version="1.0">
+    <bookmark href="http://qtsoftware.com/">
+        <title>QtSoftware</title>
+    </bookmark>
+    <bookmark href="http://webkit.org/">
+        <title>WebKit.org</title>
+    </bookmark>
+    <bookmark href="http://rekonq.sourceforge.net/">
+        <title>rekonq site</title>
+    </bookmark>
+    <bookmark href="http://labs.trolltech.com/">
+        <title>Trolltech Labs</title>
+    </bookmark>
+    <bookmark href="http://kde-apps.org/">
+        <title>KDE-Apps.org</title>
+    </bookmark>
+    <bookmark href="http://www.kde.org/">
+        <title>KDE site</title>
+    </bookmark>
+</xbel>
diff --git a/data/loading.gif b/data/loading.gif
new file mode 100644
index 00000000..c1545eb0
Binary files /dev/null and b/data/loading.gif differ
diff --git a/data/notfound.html b/data/notfound.html
new file mode 100644
index 00000000..09039eb1
--- /dev/null
+++ b/data/notfound.html
@@ -0,0 +1,66 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<head>
+<title>%1</title>
+<style  type="text/css">
+body {
+  padding: 3em 0em;
+  background: #eeeeee;
+}
+hr {
+  color: lightgray;
+  width: 100%;
+}
+img {
+  float: left;
+  opacity: .8;
+}
+#box {
+  background: white;
+  border: 1px solid lightgray;
+  width: 600px;
+  padding: 60px;
+  margin: auto;
+}
+h1 {
+  font-size: 130%;
+  font-weight: bold;
+  border-bottom: 1px solid lightgray;
+  margin-left: 48px;
+}
+h2 {
+  font-size: 100%;
+  font-weight: normal;
+  border-bottom: 1px solid lightgray;
+  margin-left: 48px;
+}
+ul {
+  font-size: 80%;
+  padding-left: 48px;
+  margin: 0;
+}
+#reloadButton {
+  padding-left: 48px;
+}
+</style>
+</head>
+<body>
+  <div id="box">
+    <img src="%2" width="16" height="16" alt="Not found" />
+    <h1>%3</h1>
+    <h2>When connecting to: %4.</h2>
+    <ul>
+      <li>Check the address for errors such as <b>ww</b>.kde.org
+      instead of <b>www</b>.kde.org</li>
+      <li>If the address is correct, try to check the network
+      connection.</li>
+      <li>If your computer or network is protected by a firewall or
+      proxy, make sure that rekonq is permitted to access
+      the network.</li>
+      <li>Of course, if rekonq doesn't work properly, you can always 
+      say it's a programmer error ;)</li>
+    </ul>
+    <br/><br/>
+  </div>
+</body>
+</html>
diff --git a/data/rekonq.desktop b/data/rekonq.desktop
new file mode 100644
index 00000000..599e81ee
--- /dev/null
+++ b/data/rekonq.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Name=rekonq
+GenericName=Webkit KDE Browser
+Icon=rekonq
+Type=Application
+Exec=rekonq %u
+X-DocPath=rekonq/index.html
+Categories=Qt;KDE;Network;
+Terminal=0
+MimeType=text/html;application/xhtml+xml;application/xml;
+X-DBUS-StartupType=Unique
+X-DBUS-ServiceName=net.sourceforge.rekonq
diff --git a/data/slack-desc b/data/slack-desc
new file mode 100644
index 00000000..3136b228
--- /dev/null
+++ b/data/slack-desc
@@ -0,0 +1,12 @@
+      |-------------------------------------------------------------------|
+rekonq: rekonq (Webkit KDE Browser)
+rekonq:
+rekonq: rekonq is a lightweight KDE browser based on webkit
+rekonq:
+rekonq:
+rekonq:
+rekonq:
+rekonq:
+rekonq:
+rekonq:
+rekonq:
diff --git a/data/webkit-icon.png b/data/webkit-icon.png
new file mode 100644
index 00000000..b3ec677a
Binary files /dev/null and b/data/webkit-icon.png differ
-- 
cgit v1.2.1