Commit d36bcfdb2063c7acace39411de11c4682a19fb7c
1 parent
5fc38754
Exists in
master
and in
1 other branch
Loading/saving logfile from properties.
Showing
5 changed files
with
3 additions
and
27 deletions
Show diff stats
src/include/terminal.h
src/terminal/properties/get.c
| @@ -39,12 +39,6 @@ | @@ -39,12 +39,6 @@ | ||
| 39 | 39 | ||
| 40 | // debug("%s(%u,%s)",__FUNCTION__,prop_id,g_param_spec_get_name(pspec)); | 40 | // debug("%s(%u,%s)",__FUNCTION__,prop_id,g_param_spec_get_name(pspec)); |
| 41 | 41 | ||
| 42 | - /* | ||
| 43 | - if(prop_id >= klass->properties.type.responses) | ||
| 44 | - { | ||
| 45 | - g_value_set_int(value,(int) window->responses[prop_id - klass->properties.type.responses]); | ||
| 46 | - } | ||
| 47 | - else */ | ||
| 48 | if(prop_id >= klass->properties.type.str) | 42 | if(prop_id >= klass->properties.type.str) |
| 49 | { | 43 | { |
| 50 | const LIB3270_STRING_PROPERTY * prop = (lib3270_get_string_properties_list()+(prop_id - klass->properties.type.str)); | 44 | const LIB3270_STRING_PROPERTY * prop = (lib3270_get_string_properties_list()+(prop_id - klass->properties.type.str)); |
src/terminal/properties/init.c
| @@ -373,7 +373,7 @@ | @@ -373,7 +373,7 @@ | ||
| 373 | for(ix = 0; str_props[ix].name; ix++) | 373 | for(ix = 0; str_props[ix].name; ix++) |
| 374 | { | 374 | { |
| 375 | 375 | ||
| 376 | -// debug("Property %u=%s (String)",(unsigned int) klass->properties.type.str + ix, str_props[ix].name); | 376 | + // debug("Property %u=%s (String)",(unsigned int) klass->properties.type.str + ix, str_props[ix].name); |
| 377 | 377 | ||
| 378 | spec = g_param_spec_string( | 378 | spec = g_param_spec_string( |
| 379 | str_props[ix].name, | 379 | str_props[ix].name, |
src/terminal/widget.c
src/testprogram/toolbar.c
| @@ -35,6 +35,7 @@ | @@ -35,6 +35,7 @@ | ||
| 35 | #include <v3270/dialogs.h> | 35 | #include <v3270/dialogs.h> |
| 36 | #include <v3270/settings.h> | 36 | #include <v3270/settings.h> |
| 37 | #include <v3270/selection.h> | 37 | #include <v3270/selection.h> |
| 38 | + #include <v3270/tools.h> | ||
| 38 | #include <v3270/trace.h> | 39 | #include <v3270/trace.h> |
| 39 | #include <lib3270/log.h> | 40 | #include <lib3270/log.h> |
| 40 | #include <lib3270/popup.h> | 41 | #include <lib3270/popup.h> |
| @@ -49,25 +50,6 @@ | @@ -49,25 +50,6 @@ | ||
| 49 | v3270_print(terminal,NULL); | 50 | v3270_print(terminal,NULL); |
| 50 | } | 51 | } |
| 51 | 52 | ||
| 52 | - /* | ||
| 53 | - static void host_clicked(GtkButton G_GNUC_UNUSED(*button), GtkWidget *terminal) | ||
| 54 | - { | ||
| 55 | - v3270_select_host(terminal); | ||
| 56 | - } | ||
| 57 | - */ | ||
| 58 | - | ||
| 59 | - /* | ||
| 60 | - static void font_clicked(GtkButton G_GNUC_UNUSED(*button), GtkWidget *terminal) | ||
| 61 | - { | ||
| 62 | - v3270_settings_popup_dialog( | ||
| 63 | - v3270_font_settings_new(), | ||
| 64 | - terminal, | ||
| 65 | - FALSE | ||
| 66 | - ); | ||
| 67 | - | ||
| 68 | - } | ||
| 69 | - */ | ||
| 70 | - | ||
| 71 | static void preferences_clicked(GtkButton G_GNUC_UNUSED(*button), GtkWidget *terminal) | 53 | static void preferences_clicked(GtkButton G_GNUC_UNUSED(*button), GtkWidget *terminal) |
| 72 | { | 54 | { |
| 73 | size_t ix; | 55 | size_t ix; |