Commit 39acfc23878c4f723d6d9df1f3a6cad2e1baf007
1 parent
d4746e6c
Exists in
master
and in
2 other branches
Fixing toggle table.
Showing
1 changed file
with
11 additions
and
10 deletions
Show diff stats
src/core/toggles/table.c
| @@ -174,16 +174,6 @@ const LIB3270_TOGGLE toggle_descriptor[LIB3270_TOGGLE_COUNT+1] = { | @@ -174,16 +174,6 @@ const LIB3270_TOGGLE toggle_descriptor[LIB3270_TOGGLE_COUNT+1] = { | ||
| 174 | .description = N_( "If set, asks to place the toplevel window in the fullscreen state" ) | 174 | .description = N_( "If set, asks to place the toplevel window in the fullscreen state" ) |
| 175 | }, | 175 | }, |
| 176 | { | 176 | { |
| 177 | - .id = LIB3270_TOGGLE_RECONNECT, | ||
| 178 | - .name = "autoreconnect", | ||
| 179 | - .def = False, | ||
| 180 | - .key = NULL, // Default keycode | ||
| 181 | - .icon = NULL, // Icon name | ||
| 182 | - .label = N_( "Auto-Reconnect" ), | ||
| 183 | - .summary = N_( "Auto-Reconnect" ), | ||
| 184 | - .description = N_( "Automatically reconnect to the host if it ever disconnects" ) | ||
| 185 | - }, | ||
| 186 | - { | ||
| 187 | .id = LIB3270_TOGGLE_INSERT, | 177 | .id = LIB3270_TOGGLE_INSERT, |
| 188 | .name = "insert", | 178 | .name = "insert", |
| 189 | .def = False, | 179 | .def = False, |
| @@ -315,6 +305,17 @@ const LIB3270_TOGGLE toggle_descriptor[LIB3270_TOGGLE_COUNT+1] = { | @@ -315,6 +305,17 @@ const LIB3270_TOGGLE toggle_descriptor[LIB3270_TOGGLE_COUNT+1] = { | ||
| 315 | }, | 305 | }, |
| 316 | 306 | ||
| 317 | { | 307 | { |
| 308 | + .id = LIB3270_TOGGLE_RECONNECT, | ||
| 309 | + .name = "autoreconnect", | ||
| 310 | + .def = False, | ||
| 311 | + .key = NULL, // Default keycode | ||
| 312 | + .icon = NULL, // Icon name | ||
| 313 | + .label = N_( "Auto-Reconnect" ), | ||
| 314 | + .summary = N_( "Auto-Reconnect" ), | ||
| 315 | + .description = N_( "Automatically reconnect to the host if it ever disconnects" ) | ||
| 316 | + }, | ||
| 317 | + | ||
| 318 | + { | ||
| 318 | .id = LIB3270_TOGGLE_COUNT, | 319 | .id = LIB3270_TOGGLE_COUNT, |
| 319 | .name = NULL, | 320 | .name = NULL, |
| 320 | .def = False, | 321 | .def = False, |