[Xfce4-commits] <midori:master> Don't convey loading or progress on special pages

Christian Dywan noreply at xfce.org
Thu Apr 18 00:50:01 CEST 2013


Updating branch refs/heads/master
         to 4eae1c0a660082906fb632a25b460d12e348c5dc (commit)
       from 7229dbd8f3c7670a4f504611a6d738d82ff7da59 (commit)

commit 4eae1c0a660082906fb632a25b460d12e348c5dc
Author: Christian Dywan <christian at twotoasts.de>
Date:   Thu Apr 18 00:43:35 2013 +0200

    Don't convey loading or progress on special pages
    
    Fixes: https://bugs.launchpad.net/midori/+bug/1090632

 midori/midori-tab.vala |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/midori/midori-tab.vala b/midori/midori-tab.vala
index 94a24ec..8f2a361 100644
--- a/midori/midori-tab.vala
+++ b/midori/midori-tab.vala
@@ -61,9 +61,10 @@ namespace Midori {
         public Gdk.Color? fg_color { get; protected set; default = null; }
         public Gdk.Color? bg_color { get; protected set; default = null; }
 
+        /* Special pages don't convey progress */
         private double current_progress = 0.0;
         public double progress { get {
-            return current_progress;
+            return special ? 0.0 : current_progress;
         }
         protected set {
             /* When we are finished, we don't want to *see* progress anymore */


More information about the Xfce4-commits mailing list