[Xfce4-commits] <midori:master> Set proper default speed dial size if not set

Christian Dywan noreply at xfce.org
Sun Dec 12 07:04:09 CET 2010


Updating branch refs/heads/master
         to 6a15af722c3c29400a39d3fe9b75804f3c1c12e6 (commit)
       from 54971fd8ae6092c887c466feea3a9a7b593f8bc0 (commit)

commit 6a15af722c3c29400a39d3fe9b75804f3c1c12e6
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Dec 12 01:13:59 2010 +0100

    Set proper default speed dial size if not set

 data/speeddial-head.html |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/data/speeddial-head.html b/data/speeddial-head.html
index edf8911..bf38d67 100644
--- a/data/speeddial-head.html
+++ b/data/speeddial-head.html
@@ -366,6 +366,8 @@
 
     var setSize = function ()
     {
+        if (typeof sc.width == 'undefined')
+            sc.width = 3;
         var rows = Math.ceil (sc.shortcuts.length / sc.width);
         var size = prompt ("{enter_dial_size}", sc.width + 'x' + rows);
 



More information about the Xfce4-commits mailing list