From 68f3236dcf5af03322c5569ec29366ca8a15630f Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Mon, 11 Feb 2019 14:47:45 -0200 Subject: [PATCH] Working on the new ft dialog. --- src/v3270ft/activitylist.c | 13 +++++++++++++ src/v3270ft/dialog.c | 9 ++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/src/v3270ft/activitylist.c b/src/v3270ft/activitylist.c index ca3fd36..4526bfd 100644 --- a/src/v3270ft/activitylist.c +++ b/src/v3270ft/activitylist.c @@ -200,6 +200,8 @@ list->filename = filename; } + g_signal_emit(widget, v3270_activity_list_signals[V3270_ACTIVITY_LIST_HAS_FILE_SIGNAL], 0, (list->filename == NULL ? FALSE : TRUE)); + } void v3270_activity_list_save(GtkWidget *widget) @@ -209,6 +211,8 @@ GError * error = NULL; size_t ix; + debug("%s",__FUNCTION__); + // Serialize activities. GtkTreeIter iter; GtkTreeModel * model = gtk_tree_view_get_model(GTK_TREE_VIEW(widget)); @@ -234,6 +238,10 @@ g_string_append_printf(str,"\t\t