[Xfce4-commits] <midori:master> Speeddial CSS speedup

Christian Dywan noreply at xfce.org
Sun Feb 19 17:54:02 CET 2012


Updating branch refs/heads/master
         to 29d6de3c6e39c72ad72d1503ec84dca7cbff9860 (commit)
       from 69f7e176ab2eda55a605107dbb40f22b0da87280 (commit)

commit 29d6de3c6e39c72ad72d1503ec84dca7cbff9860
Author: Alexander Butenko <a.butenka at gmail.com>
Date:   Wed Feb 15 11:34:07 2012 -0400

    Speeddial CSS speedup

 data/speeddial-head.html          |   13 ++++++++-----
 katze/katze-http-cookies-sqlite.c |    4 ++--
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/data/speeddial-head.html b/data/speeddial-head.html
index 053cbc7..7e7f217 100644
--- a/data/speeddial-head.html
+++ b/data/speeddial-head.html
@@ -55,10 +55,7 @@
         width: 85%;
         height: 75%;
         margin: auto;
-        -webkit-box-shadow: 0 4px 18px rgba(0,0,0,.3), 0 0 2px #fff inset;
-        background-image: -webkit-gradient(
-            linear, center top, center bottom,
-            from(#f6f6f6), to(#e3e3e3));
+        -webkit-box-shadow: 0 2px 5px rgba(0,0,0,.3), 0 0 0px #fff inset;
         border: 1px solid #bcbcbc;
         border-bottom-color: #a0a0a0;
         position: relative;
@@ -75,9 +72,15 @@
     div.shortcut .preview.new .add {
         display: block;
         height: 100%;
-        width: 50%;
+        width: 100%;
         margin: 0 auto;
         cursor: pointer;
+        -webkit-box-shadow: 0 2px 5px rgba(0,0,0,.3), 0 0 0px #fff inset;
+        background-image: -webkit-gradient(
+            linear, center top, center bottom,
+            from(#f6f6f6), to(#e3e3e3));
+        background-repeat: repeat-x;
+        -webkit-border-radius: 3px;
     }
 
     .title {
diff --git a/katze/katze-http-cookies-sqlite.c b/katze/katze-http-cookies-sqlite.c
index 4a7e1bf..4066407 100644
--- a/katze/katze-http-cookies-sqlite.c
+++ b/katze/katze-http-cookies-sqlite.c
@@ -123,8 +123,8 @@ katze_http_cookies_sqlite_open_db (KatzeHttpCookiesSqlite* http_cookies)
     }
 
     sqlite3_exec (http_cookies->db,
-        "PRAGMA count_changes = OFF; PRAGMA synchronous = OFF;"
-        "PRAGMA temp_store = MEMORY; PRAGMA journal_mode = TRUNCATE;",
+        /* "PRAGMA synchronous = OFF; PRAGMA temp_store = MEMORY" */
+        "PRAGMA count_changes = OFF; PRAGMA journal_mode = TRUNCATE;",
         NULL, NULL, &error);
 
     return FALSE;


More information about the Xfce4-commits mailing list