diff options
author | Rafael Ortiz <rafael@activitycentral.com> | 2011-06-22 15:00:56 (GMT) |
---|---|---|
committer | Rafael Ortiz <rafael@activitycentral.com> | 2011-06-22 15:00:56 (GMT) |
commit | 508e62f4bea13c02946d8855da60018fa91bbabe (patch) | |
tree | be16daf06ad733ff370008cc441143f48025feac /webactivity.py | |
parent | 7ec1d1dbbd3410672e82904e5c4509e227dbc37e (diff) |
Giving version boundaries to cairo bug not allowing multiple tabs, based on Gonzalo Odiard <gonzalo@laptop.org> changes.
Diffstat (limited to 'webactivity.py')
-rw-r--r-- | webactivity.py | 3 |
1 files changed, 2 insertions, 1 deletions
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') |