[GRASS-SVN] r63421 - grass-addons/grass7/display/d.frame
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Dec 7 05:30:43 PST 2014
Author: martinl
Date: 2014-12-07 05:30:43 -0800 (Sun, 07 Dec 2014)
New Revision: 63421
Modified:
grass-addons/grass7/display/d.frame/d.frame.py
Log:
d.frame: only cairo and png monitors supported
Modified: grass-addons/grass7/display/d.frame/d.frame.py
===================================================================
--- grass-addons/grass7/display/d.frame/d.frame.py 2014-12-07 13:24:54 UTC (rev 63420)
+++ grass-addons/grass7/display/d.frame/d.frame.py 2014-12-07 13:30:43 UTC (rev 63421)
@@ -213,6 +213,8 @@
monitor = check_monitor()
if not monitor:
fatal(_("No graphics device selected. Use d.mon to select graphics device."))
+ if monitor not in ('png', 'cairo'):
+ fatal_("Only Cairo or PNG monitors are currently supported")
if flags['e']:
# remove frames and erase monitor and exit
More information about the grass-commit
mailing list