From 0e06a52f81127204a141fbf941017a199283eb9d Mon Sep 17 00:00:00 2001 From: Manuel QuiƱones Date: Wed, 30 Nov 2011 15:40:14 +0000 Subject: Commenting out code so the activity can stop Signed-off-by: Manuel QuiƱones Acked-by: Simon Schampijer --- (limited to 'webactivity.py') diff --git a/webactivity.py b/webactivity.py index 2efa70e..27f181d 100644 --- a/webactivity.py +++ b/webactivity.py @@ -429,12 +429,16 @@ class WebActivity(activity.Activity): else: self.metadata['title'] = browser.props.title - self.model.data['history'] = self._tabbed_view.get_session() + # FIXME + # self.model.data['history'] = self._tabbed_view.get_session() + self.model.data['history'] = [] current_tab = self._tabbed_view.get_current_page() self.model.data['current_tab'] = current_tab self.model.data['currents'] = [] for n in range(0, self._tabbed_view.get_n_pages()): + # FIXME + continue n_browser = self._tabbed_view.get_nth_page(n) if n_browser != None: nsiuri = n_browser.progress.location @@ -578,7 +582,8 @@ class WebActivity(activity.Activity): def can_close(self): if self._force_close: return True - elif downloadmanager.can_quit(): + # FIXME + elif True: # downloadmanager.can_quit(): return True else: alert = Alert() -- cgit v0.9.1