Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webactivity.py
diff options
context:
space:
mode:
Diffstat (limited to 'webactivity.py')
-rw-r--r--webactivity.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/webactivity.py b/webactivity.py
index 1a0f9f5..b27ad50 100644
--- a/webactivity.py
+++ b/webactivity.py
@@ -538,6 +538,18 @@ class WebActivity(activity.Activity):
def _link_clicked_cb(self, button, url):
''' an item of the link tray has been clicked '''
self._tabbed_view.props.current_browser.load_uri(url)
+
+ @property
+ def current_uri(self):
+ browser = self._tabbed_view.props.current_browser
+
+ return browser.web_navigation.currentURI
+
+ @property
+ def current_title(self):
+ browser = self._tabbed_view.props.current_browser
+
+ return browser.props.uri
def _pixbuf_save_cb(self, buf, data):
data[0] += buf