From af31a44d9b5247d56a7a468102369d3314e1a2a3 Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Fri, 28 Sep 2012 13:18:48 +0000 Subject: Button to clear the url entry SL #3499 Added an 'X' to clear the url entry easily. This button is shown when the url entry has focus and the user is not reading a .pdf webpage. When the focus is left the icon changes again to the correct one (reload, stop loading or none) Signed-off-by: Manuel Kaufmann Acked-by: Manuel QuiƱones --- (limited to 'pdfviewer.py') diff --git a/pdfviewer.py b/pdfviewer.py index 5f607bf..6ce4fcf 100644 --- a/pdfviewer.py +++ b/pdfviewer.py @@ -270,6 +270,12 @@ class DummyBrowser(GObject.GObject): def reload(self): pass + def load_uri(self, uri): + pass + + def grab_focus(self): + pass + class PDFTabPage(Gtk.HBox): """Shows a basic PDF viewer, download the file first if the PDF is -- cgit v0.9.1