[GRASS-SVN] r69487 - grass/branches/releasebranch_7_0/display/d.mon

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 14 14:00:06 PDT 2016


Author: neteler
Date: 2016-09-14 14:00:06 -0700 (Wed, 14 Sep 2016)
New Revision: 69487

Modified:
   grass/branches/releasebranch_7_0/display/d.mon/main.c
Log:
d.mon: enlarge width to unhide selection window; solves Gtk-CRITICAL GtkCheckButton message flooding (#3117) (trunk, backport of r69485)

Modified: grass/branches/releasebranch_7_0/display/d.mon/main.c
===================================================================
--- grass/branches/releasebranch_7_0/display/d.mon/main.c	2016-09-14 20:58:21 UTC (rev 69486)
+++ grass/branches/releasebranch_7_0/display/d.mon/main.c	2016-09-14 21:00:06 UTC (rev 69487)
@@ -64,7 +64,7 @@
     width_opt = G_define_option();
     width_opt->key = "width";
     width_opt->label = _("Width for display monitor if not set by GRASS_RENDER_WIDTH");
-    width_opt->description = _("Default value: 640");
+    width_opt->description = _("Default value: 720");
     width_opt->type = TYPE_INTEGER;
     width_opt->key_desc = "value";
     width_opt->guisection = _("Settings");
@@ -185,7 +185,7 @@
     if (start_opt->answer) {
         int width, height;
 
-        width = width_opt->answer ? atoi(width_opt->answer) : 640;
+        width = width_opt->answer ? atoi(width_opt->answer) : 720;
         height = height_opt->answer ? atoi(height_opt->answer) : 480;
         if (res_opt->answer) {
             int res;



More information about the grass-commit mailing list