Commit 9e328512c87eb0d198b63f277d7f442b97d1cf3c
1 parent
f2dc407d
Exists in
master
and in
1 other branch
Since the URL is part of the session name used to update window title
the correspondent signal should be emitted when it changes.
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
src/terminal/callbacks.c
| ... | ... | @@ -90,8 +90,10 @@ static void update_luname(H3270 *session, const char G_GNUC_UNUSED(*name)) |
| 90 | 90 | |
| 91 | 91 | static gboolean v3270_update_url(v3270 *terminal) |
| 92 | 92 | { |
| 93 | - debug("url=%s",v3270_get_url(GTK_WIDGET(terminal))); | |
| 94 | - v3270_notify_setting(GTK_WIDGET(terminal),V3270_SETTING_URL); | |
| 93 | + GtkWidget * widget = GTK_WIDGET(terminal); | |
| 94 | + debug("url=%s",v3270_get_url(widget)); | |
| 95 | + v3270_notify_setting(widget,V3270_SETTING_URL); | |
| 96 | + g_signal_emit(widget, v3270_widget_signal[V3270_SIGNAL_SESSION_CHANGED], 0); | |
| 95 | 97 | return FALSE; |
| 96 | 98 | } |
| 97 | 99 | ... | ... |