mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Refresh registrations button (need activation)
In .linphonerc add in [GtkUi] section: shown_widgets=main_window.proxy_refresh_button
This commit is contained in:
parent
9ca8f73d0b
commit
c1bc179ba7
2 changed files with 1180 additions and 1391 deletions
12
gtk/main.c
12
gtk/main.c
|
|
@ -806,6 +806,18 @@ void linphone_gtk_used_identity_changed(GtkWidget *w){
|
|||
if (sel) g_free(sel);
|
||||
}
|
||||
|
||||
|
||||
void on_proxy_refresh_button_clicked(GtkWidget *w){
|
||||
LinphoneCore *lc=linphone_gtk_get_core();
|
||||
MSList const *item=linphone_core_get_proxy_config_list(lc);
|
||||
while (item != NULL) {
|
||||
LinphoneProxyConfig *lpc=(LinphoneProxyConfig*)item->data;
|
||||
linphone_proxy_config_edit(lpc);
|
||||
linphone_proxy_config_done(lpc);
|
||||
item = item->next;
|
||||
}
|
||||
}
|
||||
|
||||
static void linphone_gtk_notify_recv(LinphoneCore *lc, LinphoneFriend * fid){
|
||||
linphone_gtk_show_friends();
|
||||
}
|
||||
|
|
|
|||
2559
gtk/main.ui
2559
gtk/main.ui
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue