Commit 14b161c281f9ed5d8da66797a4d026af8fff0900
1 parent
899c332a
Exists in
master
and in
2 other branches
Calling plugins on every new terminal.
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
src/objects/window/terminal.c
| ... | ... | @@ -43,6 +43,7 @@ |
| 43 | 43 | #include <v3270/keyfile.h> |
| 44 | 44 | #include <v3270/print.h> |
| 45 | 45 | #include <lib3270/os.h> |
| 46 | +#include <pw3270/application.h> | |
| 46 | 47 | |
| 47 | 48 | static void destroy(GtkWidget *terminal, gpointer G_GNUC_UNUSED(dunno)) { |
| 48 | 49 | v3270_key_file_close(terminal); |
| ... | ... | @@ -203,6 +204,12 @@ GtkWidget * pw3270_terminal_new(const gchar *session_file) { |
| 203 | 204 | g_error_free(error); |
| 204 | 205 | } |
| 205 | 206 | |
| 207 | + pw3270_application_plugin_call( | |
| 208 | + g_application_get_default(), | |
| 209 | + "pw3270_plugin_setup_terminal", | |
| 210 | + terminal | |
| 211 | + ); | |
| 212 | + | |
| 206 | 213 | return terminal; |
| 207 | 214 | } |
| 208 | 215 | ... | ... |