mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-23 06:08:07 +00:00
Hide encryption info when ending a call.
This commit is contained in:
parent
aad7b3c8c9
commit
14a82b0ced
2 changed files with 8 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue