diff options
author | Jovanka Gulicoska <jovanka.gulicoska@gmail.com> | 2012-01-06 21:01:22 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-01-06 22:28:22 +0800 |
commit | b4577db9026c19a1d1eaf3bdfe45a9e41b35698f (patch) | |
tree | 633762cb64b79c40a85d8169914aa1d0519fe964 /src | |
parent | 0c03c67b2c8cd5190c7c1920ba315ebbfa2285c7 (diff) | |
download | gsoc2013-empathy-b4577db9026c19a1d1eaf3bdfe45a9e41b35698f.tar gsoc2013-empathy-b4577db9026c19a1d1eaf3bdfe45a9e41b35698f.tar.gz gsoc2013-empathy-b4577db9026c19a1d1eaf3bdfe45a9e41b35698f.tar.bz2 gsoc2013-empathy-b4577db9026c19a1d1eaf3bdfe45a9e41b35698f.tar.lz gsoc2013-empathy-b4577db9026c19a1d1eaf3bdfe45a9e41b35698f.tar.xz gsoc2013-empathy-b4577db9026c19a1d1eaf3bdfe45a9e41b35698f.tar.zst gsoc2013-empathy-b4577db9026c19a1d1eaf3bdfe45a9e41b35698f.zip |
added # in join room when irc protocol selected
https://bugzilla.gnome.org/show_bug.cgi?id=631236
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-new-chatroom-dialog.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/empathy-new-chatroom-dialog.c b/src/empathy-new-chatroom-dialog.c index 8176c4803..9a846f074 100644 --- a/src/empathy-new-chatroom-dialog.c +++ b/src/empathy-new-chatroom-dialog.c @@ -441,10 +441,16 @@ new_chatroom_dialog_update_widgets (EmpathyNewChatroomDialog *dialog) gtk_widget_set_sensitive (dialog->entry_server, TRUE); } + if (!tp_strdiff (protocol, "irc")) + gtk_entry_set_text (GTK_ENTRY (dialog->entry_room), "#"); + else + gtk_entry_set_text (GTK_ENTRY (dialog->entry_room), ""); + update_join_button_sensitivity (dialog); /* Final set up of the dialog */ gtk_widget_grab_focus (dialog->entry_room); + gtk_editable_set_position (GTK_EDITABLE (dialog->entry_room), -1); } static void |