Refresh registrations button (need activation)

In .linphonerc add in [GtkUi] section:
shown_widgets=main_window.proxy_refresh_button
This commit is contained in:
Guillaume Beraudo 2012-05-15 11:05:13 +02:00
parent 9ca8f73d0b
commit c1bc179ba7
2 changed files with 1180 additions and 1391 deletions

View file

@ -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();
}

File diff suppressed because it is too large Load diff