From 508e62f4bea13c02946d8855da60018fa91bbabe Mon Sep 17 00:00:00 2001 From: Rafael Ortiz Date: Wed, 22 Jun 2011 15:00:56 +0000 Subject: Giving version boundaries to cairo bug not allowing multiple tabs, based on Gonzalo Odiard changes. --- diff --git a/webactivity.py b/webactivity.py index dade56a..d95e642 100644 --- a/webactivity.py +++ b/webactivity.py @@ -219,7 +219,8 @@ class WebActivity(activity.Activity): # if we come across cairo versions >= 1.08.10 # More information can be found here: # http://lists.sugarlabs.org/archive/sugar-devel/2010-July/025187.html - self._disable_multiple_tabs = cairo.cairo_version() >= 10810 + self._disable_multiple_tabs = cairo.cairo_version() >= 10810\ + and cairo.cairo_version() < 11000 if self._disable_multiple_tabs: logging.warning('Not enabling the multiple tabs feature due' ' to a bug in cairo/mozilla') -- cgit v0.9.1