aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-new-chatroom-dialog.c
diff options
context:
space:
mode:
authorGabriel Millaire <millaire.gabriel@gmail.com>2009-05-08 22:15:20 +0800
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>2009-05-08 22:15:20 +0800
commita725caa3c5d33b0e7ecab6395b6790d88a9308c6 (patch)
tree31d3e5b6c31f264075e88ebd534f0139f45dfd79 /src/empathy-new-chatroom-dialog.c
parenta7a3d06382221395b11de78c8ea0687c63923b35 (diff)
downloadgsoc2013-empathy-a725caa3c5d33b0e7ecab6395b6790d88a9308c6.tar
gsoc2013-empathy-a725caa3c5d33b0e7ecab6395b6790d88a9308c6.tar.gz
gsoc2013-empathy-a725caa3c5d33b0e7ecab6395b6790d88a9308c6.tar.bz2
gsoc2013-empathy-a725caa3c5d33b0e7ecab6395b6790d88a9308c6.tar.lz
gsoc2013-empathy-a725caa3c5d33b0e7ecab6395b6790d88a9308c6.tar.xz
gsoc2013-empathy-a725caa3c5d33b0e7ecab6395b6790d88a9308c6.tar.zst
gsoc2013-empathy-a725caa3c5d33b0e7ecab6395b6790d88a9308c6.zip
Fix bug #579484: Join Chatroom dialog doesn't list rooms when changing
account By remembering to start listing rooms when the channel is ready.
Diffstat (limited to 'src/empathy-new-chatroom-dialog.c')
-rw-r--r--src/empathy-new-chatroom-dialog.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/empathy-new-chatroom-dialog.c b/src/empathy-new-chatroom-dialog.c
index 1861993e8..67f870fbc 100644
--- a/src/empathy-new-chatroom-dialog.c
+++ b/src/empathy-new-chatroom-dialog.c
@@ -388,6 +388,7 @@ new_chatroom_dialog_account_changed_cb (GtkComboBox *combobox,
EmpathyAccountChooser *account_chooser;
McAccount *account;
gboolean listing = FALSE;
+ gboolean expanded = FALSE;
if (dialog->room_list) {
g_object_unref (dialog->room_list);
@@ -411,6 +412,11 @@ new_chatroom_dialog_account_changed_cb (GtkComboBox *combobox,
G_CALLBACK (new_chatroom_dialog_listing_cb),
dialog);
+ expanded = gtk_expander_get_expanded (GTK_EXPANDER (dialog->expander_browse));
+ if (expanded) {
+ new_chatroom_dialog_browse_start (dialog);
+ }
+
listing = empathy_tp_roomlist_is_listing (dialog->room_list);
if (listing) {
ephy_spinner_start (EPHY_SPINNER (dialog->throbber));