Commit 14a82b0c authored by Ghislain MARY's avatar Ghislain MARY

Hide encryption info when ending a call.

parent aad7b3c8
......@@ -752,6 +752,12 @@ void linphone_gtk_in_call_view_show_encryption(LinphoneCall *call){
}
}
void linphone_gtk_in_call_view_hide_encryption(LinphoneCall *call) {
GtkWidget *callview = (GtkWidget*)linphone_call_get_user_pointer(call);
GtkWidget *encryption_box = linphone_gtk_get_widget(callview, "encryption_box");
gtk_widget_hide_all(encryption_box);
}
char *linphone_gtk_address(const LinphoneAddress *addr){
const char *displayname=linphone_address_get_display_name(addr);
if (!displayname) return linphone_address_as_string_uri_only(addr);
......@@ -853,6 +859,7 @@ void linphone_gtk_in_call_view_terminate(LinphoneCall *call, const char *error_m
g_free(msg);
}
linphone_gtk_in_call_set_animation_image(callview, linphone_gtk_get_ui_config("stop_call_icon_name","linphone-stop-call"));
linphone_gtk_in_call_view_hide_encryption(call);
gtk_widget_hide(linphone_gtk_get_widget(callview,"answer_decline_panel"));
gtk_widget_hide(linphone_gtk_get_widget(callview,"record_hbox"));
......
......@@ -190,6 +190,7 @@ LINPHONE_PUBLIC void linphone_gtk_set_in_conference(LinphoneCall *call);
LINPHONE_PUBLIC void linphone_gtk_unset_from_conference(LinphoneCall *call);
LINPHONE_PUBLIC void linphone_gtk_terminate_conference_participant(LinphoneCall *call);
LINPHONE_PUBLIC void linphone_gtk_in_call_view_show_encryption(LinphoneCall *call);
LINPHONE_PUBLIC void linphone_gtk_in_call_view_hide_encryption(LinphoneCall *call);
LINPHONE_PUBLIC void linphone_gtk_update_video_button(LinphoneCall *call);
LINPHONE_PUBLIC void linphone_gtk_init_audio_meter(GtkWidget *w, get_volume_t get_volume, void *data);
LINPHONE_PUBLIC void linphone_gtk_uninit_audio_meter(GtkWidget *w);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment