Commit 40c5ed321748026d035b80bfa84c74d21c489dc1

Authored by Perry Werneck
1 parent 334c6eba
Exists in master and in 1 other branch develop

Saving color & host-type properties to settings files.

src/include/terminal.h
@@ -45,6 +45,8 @@ G_BEGIN_DECLS @@ -45,6 +45,8 @@ G_BEGIN_DECLS
45 V3270_SETTING_OVERSIZE, 45 V3270_SETTING_OVERSIZE,
46 V3270_SETTING_HOST_CHARSET, 46 V3270_SETTING_HOST_CHARSET,
47 V3270_SETTING_UNLOCK_DELAY, 47 V3270_SETTING_UNLOCK_DELAY,
  48 + V3270_SETTING_COLOR_TYPE,
  49 + V3270_SETTING_HOST_TYPE,
48 50
49 V3270_SETTING_COUNT ///< @brief Number of setting properties. 51 V3270_SETTING_COUNT ///< @brief Number of setting properties.
50 } V3270_SETTING; 52 } V3270_SETTING;
src/terminal/properties/init.c
@@ -49,7 +49,8 @@ @@ -49,7 +49,8 @@
49 { "oversize", &klass->properties.settings[V3270_SETTING_OVERSIZE] }, 49 { "oversize", &klass->properties.settings[V3270_SETTING_OVERSIZE] },
50 { "host-charset", &klass->properties.settings[V3270_SETTING_HOST_CHARSET] }, 50 { "host-charset", &klass->properties.settings[V3270_SETTING_HOST_CHARSET] },
51 { "unlock-delay", &klass->properties.settings[V3270_SETTING_UNLOCK_DELAY] }, 51 { "unlock-delay", &klass->properties.settings[V3270_SETTING_UNLOCK_DELAY] },
52 - 52 + { "color-type", &klass->properties.settings[V3270_SETTING_COLOR_TYPE] },
  53 + { "host-type", &klass->properties.settings[V3270_SETTING_HOST_TYPE] },
53 }; 54 };
54 55
55 size_t ix; 56 size_t ix;