From a86d152dc949ed563a5b88561f805cc1f16455ae Mon Sep 17 00:00:00 2001 From: smorlat Date: Mon, 16 Mar 2009 14:18:59 +0000 Subject: [PATCH] fix bug when filling comboboxes. git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@346 3f6dc0c8-ddfe-455d-9043-3cd528dc4637 --- linphone/gtk-glade/propertybox.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/linphone/gtk-glade/propertybox.c b/linphone/gtk-glade/propertybox.c index eba3a7dd0..438d27fb3 100644 --- a/linphone/gtk-glade/propertybox.c +++ b/linphone/gtk-glade/propertybox.c @@ -594,14 +594,19 @@ void linphone_gtk_remove_proxy(GtkButton *button){ if (cfg){ linphone_core_remove_proxy_config(linphone_gtk_get_core(),cfg); linphone_gtk_show_sip_accounts(gtk_widget_get_toplevel(GTK_WIDGET(button))); + /* also update the main window's list of identities*/ + linphone_gtk_load_identities(); } } void linphone_gtk_edit_proxy(GtkButton *button){ GtkWidget *pb=gtk_widget_get_toplevel(GTK_WIDGET(button)); LinphoneProxyConfig *cfg=linphone_gtk_get_selected_proxy_config(pb); - if (cfg) + if (cfg){ linphone_gtk_show_proxy_config(pb,cfg); + /* also update the main window's list of identities*/ + linphone_gtk_load_identities(); + } } void linphone_gtk_show_parameters(void){