<br>On Fri, Apr 20, 2012 at 9:11 AM, Manuel Quiñones <span dir="ltr"><<a href="mailto:manuq@laptop.org">manuq@laptop.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

This is not be useful anymore, was a bug related to xulrunner and<br>
cairo.<br>
<br>
Signed-off-by: Manuel Quiñones <<a href="mailto:manuq@laptop.org">manuq@laptop.org</a>><br>
---<br>
 webactivity.py |   16 +---------------<br>
 1 files changed, 1 insertions(+), 15 deletions(-)<br>
<br>
diff --git a/webactivity.py b/webactivity.py<br>
index fe47fdc..0d317d8 100644<br>
--- a/webactivity.py<br>
+++ b/webactivity.py<br>
@@ -172,19 +172,6 @@ class WebActivity(activity.Activity):<br>
         self._tabbed_view = TabbedView()<br>
         self._tabbed_view.connect('focus-url-entry', self._on_focus_url_entry)<br>
<br>
-        # HACK<br>
-        # Currently, the multiple tabs feature crashes the Browse activity<br>
-        # on cairo versions 1.8.10 or later. The exact cause for this<br>
-        # isn't exactly known. Thus, disable the multiple tabs feature<br>
-        # if we come across cairo versions >= 1.08.10 and < 11000<br>
-        # More information can be found here:<br>
-        # <a href="http://lists.sugarlabs.org/archive/sugar-devel/2010-July/025187.html" target="_blank">http://lists.sugarlabs.org/archive/sugar-devel/2010-July/025187.html</a><br>
-        self._disable_multiple_tabs = cairo.cairo_version() >= 10810\<br>
-                        and cairo.cairo_version() < 11000<br>
-        if self._disable_multiple_tabs:<br>
-            logging.warning('Not enabling the multiple tabs feature due'<br>
-                ' to a bug in cairo/mozilla')<br>
-<br>
         self._tray = HTray()<br>
         self.set_tray(self._tray, Gtk.PositionType.BOTTOM)<br>
         self._tray.show()<br>
@@ -470,8 +457,7 @@ class WebActivity(activity.Activity):<br>
                 _logger.debug('keyboard: Reload')<br>
                 browser.reload()<br>
             elif Gdk.keyval_name(event.keyval) == "t":<br>
-                if not self._disable_multiple_tabs:<br>
-                    self._tabbed_view.add_tab()<br>
+                self._tabbed_view.add_tab()<br>
             else:<br>
                 return False<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
1.7.7.6<br>
<br>
</font></span></blockquote><div><br></div><div>+1. thanks for erasing this code. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">_______________________________________________<br>


Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</font></span></blockquote></div><br>