Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdfviewer.py
diff options
context:
space:
mode:
authorManuel Kaufmann <humitos@gmail.com>2012-09-28 13:18:48 (GMT)
committer Manuel QuiƱones <manuq@laptop.org>2012-09-28 14:15:01 (GMT)
commitaf31a44d9b5247d56a7a468102369d3314e1a2a3 (patch)
tree0ca5f53ab843c807d0890454ed094c129a0c30d7 /pdfviewer.py
parent49495aa4584035a97754c75b124a3c326d9f8db9 (diff)
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 <humitos@gmail.com> Acked-by: Manuel QuiƱones <manuq@laptop.org>
Diffstat (limited to 'pdfviewer.py')
-rw-r--r--pdfviewer.py6
1 files changed, 6 insertions, 0 deletions
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