Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
14a82b0c
Commit
14a82b0c
authored
Oct 22, 2015
by
Ghislain MARY
Browse files
Hide encryption info when ending a call.
parent
aad7b3c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
gtk/incall_view.c
gtk/incall_view.c
+7
-0
gtk/linphone.h
gtk/linphone.h
+1
-0
No files found.
gtk/incall_view.c
View file @
14a82b0c
...
...
@@ -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"
));
...
...
gtk/linphone.h
View file @
14a82b0c
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment