diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2007-08-10 21:11:32 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-08-10 21:11:32 +0800 |
commit | da9e37d5db7c115a0d3027140f61f006acb1b406 (patch) | |
tree | bb9b2caa974d6b682147f07a492a459d4824c657 | |
parent | 1c86b016c9f04ca0ecc4af8c322c8d5ff889d9bb (diff) | |
download | gsoc2013-empathy-da9e37d5db7c115a0d3027140f61f006acb1b406.tar gsoc2013-empathy-da9e37d5db7c115a0d3027140f61f006acb1b406.tar.gz gsoc2013-empathy-da9e37d5db7c115a0d3027140f61f006acb1b406.tar.bz2 gsoc2013-empathy-da9e37d5db7c115a0d3027140f61f006acb1b406.tar.lz gsoc2013-empathy-da9e37d5db7c115a0d3027140f61f006acb1b406.tar.xz gsoc2013-empathy-da9e37d5db7c115a0d3027140f61f006acb1b406.tar.zst gsoc2013-empathy-da9e37d5db7c115a0d3027140f61f006acb1b406.zip |
Unselect accounts when clicking on "add" button. Fixes bug #459173 (Cosimo
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).
svn path=/trunk/; revision=245
-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); |