diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | libempathy-gtk/empathy-accounts-dialog.c | 9 |
2 files changed, 13 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2007-08-10 Xavier Claessens <xclaesse@gmail.com> + * libempathy-gtk/empathy-accounts-dialog.c: Unselect accounts when + clicking on "add" button. Fixes bug #459173 (Cosimo Cecchi). + +2007-08-10 Xavier Claessens <xclaesse@gmail.com> + * libempathy-gtk/empathy-presence-chooser.glade: add some spacing in "Custom message" dialog. Fixes bug #465360 (Frederic Peters). diff --git a/libempathy-gtk/empathy-accounts-dialog.c b/libempathy-gtk/empathy-accounts-dialog.c index ca637651c..3be77f447 100644 --- a/libempathy-gtk/empathy-accounts-dialog.c +++ b/libempathy-gtk/empathy-accounts-dialog.c @@ -837,9 +837,16 @@ accounts_dialog_button_connect_clicked_cb (GtkWidget *button, } static void -accounts_dialog_button_add_clicked_cb (GtkWidget *button, +accounts_dialog_button_add_clicked_cb (GtkWidget *button, EmpathyAccountsDialog *dialog) { + GtkTreeView *view; + GtkTreeSelection *selection; + + view = GTK_TREE_VIEW (dialog->treeview); + selection = gtk_tree_view_get_selection (view); + gtk_tree_selection_unselect_all (selection); + gtk_widget_hide (dialog->vbox_details); gtk_widget_hide (dialog->frame_no_account); gtk_widget_show (dialog->frame_new_account); |