6236: display issue by using cairo under linux too
svn: r21642
This commit is contained in:
parent
2abc7c8475
commit
0ce396d2c1
@ -71,14 +71,7 @@ import gui.utils
|
|||||||
# Constants
|
# Constants
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
if constfunc.is_quartz():
|
CAIRO_AVAILABLE = False
|
||||||
CAIRO_AVAILABLE = False
|
|
||||||
else:
|
|
||||||
try:
|
|
||||||
import cairo
|
|
||||||
CAIRO_AVAILABLE = True
|
|
||||||
except ImportError:
|
|
||||||
CAIRO_AVAILABLE = False
|
|
||||||
|
|
||||||
_PERSON = "p"
|
_PERSON = "p"
|
||||||
_BORN = _('short for born|b.')
|
_BORN = _('short for born|b.')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user