[gnome-terminal] profile: Limit range of row and columns pref



commit fef7e3cba2645438f0f58284d80968fabbda08ba
Author: Christian Persch <chpe gnome org>
Date:   Fri Jan 30 18:10:37 2015 +0100

    profile: Limit range of row and columns pref

 src/org.gnome.Terminal.gschema.xml |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/org.gnome.Terminal.gschema.xml b/src/org.gnome.Terminal.gschema.xml
index 6a4ddb6..f5c4450 100644
--- a/src/org.gnome.Terminal.gschema.xml
+++ b/src/org.gnome.Terminal.gschema.xml
@@ -131,11 +131,13 @@
       <description>True if the menubar should be shown in new window</description>
     </key>
     <key name="default-size-columns" type="i">
+      <range min="16" max="256" />
       <default>80</default>
       <summary>Default number of columns</summary>
       <description>Number of columns in newly created terminal windows. Has no effect if 
use_custom_default_size is not enabled.</description>
     </key>
     <key name="default-size-rows" type="i">
+      <range min="4" max="256" />
       <default>24</default>
       <summary>Default number of rows</summary>
       <description>Number of rows in newly created terminal windows. Has no effect if 
use_custom_default_size is not enabled.</description>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]