Commit 43cb80862bfac2bb87e62a991e795332e4bcc77a
1 parent
5c6b307f
Exists in
master
and in
3 other branches
Cleaning up.
Showing
3 changed files
with
3 additions
and
25 deletions
Show diff stats
pw3270.cbp
| @@ -43,6 +43,9 @@ | @@ -43,6 +43,9 @@ | ||
| 43 | <Unit filename="Makefile.in" /> | 43 | <Unit filename="Makefile.in" /> |
| 44 | <Unit filename="configure.ac" /> | 44 | <Unit filename="configure.ac" /> |
| 45 | <Unit filename="schemas/linux/application.gschema.xml.in" /> | 45 | <Unit filename="schemas/linux/application.gschema.xml.in" /> |
| 46 | + <Unit filename="schemas/linux/window.gschema.xml.in" /> | ||
| 47 | + <Unit filename="schemas/windows/application.gschema.xml.in" /> | ||
| 48 | + <Unit filename="schemas/windows/window.gschema.xml.in" /> | ||
| 46 | <Unit filename="src/include/pw3270.h" /> | 49 | <Unit filename="src/include/pw3270.h" /> |
| 47 | <Unit filename="src/include/pw3270/actions.h" /> | 50 | <Unit filename="src/include/pw3270/actions.h" /> |
| 48 | <Unit filename="src/include/pw3270/application.h" /> | 51 | <Unit filename="src/include/pw3270/application.h" /> |
src/objects/application/application.c
| @@ -178,8 +178,6 @@ | @@ -178,8 +178,6 @@ | ||
| 178 | 178 | ||
| 179 | GApplication * app = g_application_get_default(); | 179 | GApplication * app = g_application_get_default(); |
| 180 | 180 | ||
| 181 | - debug("********************* %p",app); | ||
| 182 | - | ||
| 183 | g_autoptr(GSettings) app_settings = pw3270_application_settings_new(); | 181 | g_autoptr(GSettings) app_settings = pw3270_application_settings_new(); |
| 184 | g_autoptr(GSettings) win_settings = pw3270_application_window_settings_new(); | 182 | g_autoptr(GSettings) win_settings = pw3270_application_window_settings_new(); |
| 185 | 183 |
src/objects/window/terminal.c
| @@ -83,29 +83,6 @@ | @@ -83,29 +83,6 @@ | ||
| 83 | v3270_to_key_file(terminal,session->key_file,"terminal"); | 83 | v3270_to_key_file(terminal,session->key_file,"terminal"); |
| 84 | v3270_accelerator_map_to_key_file(terminal, session->key_file, "accelerators"); | 84 | v3270_accelerator_map_to_key_file(terminal, session->key_file, "accelerators"); |
| 85 | 85 | ||
| 86 | - /* | ||
| 87 | - GtkWidget * window = gtk_widget_get_toplevel(terminal); | ||
| 88 | - | ||
| 89 | - if(PW3270_IS_APPLICATION_WINDOW(window) && pw3270_application_window_get_active_terminal(window) == terminal) { | ||
| 90 | - | ||
| 91 | - debug("%s on active terminal, saving window settings",__FUNCTION__); | ||
| 92 | - GList * keypad = pw3270_application_window_get_keypads(window); | ||
| 93 | - | ||
| 94 | - while(keypad) { | ||
| 95 | - | ||
| 96 | - g_key_file_set_boolean( | ||
| 97 | - session->key_file, | ||
| 98 | - "keypads", | ||
| 99 | - gtk_widget_get_name(GTK_WIDGET(keypad->data)), | ||
| 100 | - gtk_widget_get_visible(GTK_WIDGET(keypad->data)) | ||
| 101 | - ); | ||
| 102 | - keypad = g_list_next(keypad); | ||
| 103 | - | ||
| 104 | - } | ||
| 105 | - | ||
| 106 | - } | ||
| 107 | - */ | ||
| 108 | - | ||
| 109 | g_key_file_save_to_file(session->key_file,session->filename,NULL); | 86 | g_key_file_save_to_file(session->key_file,session->filename,NULL); |
| 110 | 87 | ||
| 111 | } | 88 | } |