[epiphany/gnome-3-38] Revert "Disable reader mode"



commit 265ab991f15633053529aea34879516146534c65
Author: Michael Catanzaro <mcatanzaro redhat com>
Date:   Thu Dec 16 12:46:33 2021 -0600

    Revert "Disable reader mode"
    
    This reverts commit ee245c436bb640d1c2547c57d57ace1bdac98a81.

 embed/ephy-web-view.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 4d9f48e93..e5206aec3 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -677,7 +677,6 @@ _ephy_web_view_set_is_blank (EphyWebView *view,
   }
 }
 
-#if 0
 static void
 readability_js_finish_cb (GObject      *object,
                           GAsyncResult *result,
@@ -722,7 +721,6 @@ run_readability_js_if_needed (gpointer data)
   web_view->reader_js_timeout = 0;
   return G_SOURCE_REMOVE;
 }
-#endif
 
 static void
 title_changed_cb (WebKitWebView *web_view,
@@ -1622,10 +1620,8 @@ load_changed_cb (WebKitWebView   *web_view,
 
       g_clear_handle_id (&view->reader_js_timeout, g_source_remove);
 
-#if 0
       if (!ephy_embed_utils_is_no_show_address (view->address))
         view->reader_js_timeout = g_idle_add (run_readability_js_if_needed, web_view);
-#endif
 
       break;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]