[empathy] added # in join room when irc protocol selected
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] added # in join room when irc protocol selected
- Date: Fri, 6 Jan 2012 14:28:35 +0000 (UTC)
commit b4577db9026c19a1d1eaf3bdfe45a9e41b35698f
Author: Jovanka Gulicoska <jovanka gulicoska gmail com>
Date: Fri Jan 6 14:01:22 2012 +0100
added # in join room when irc protocol selected
https://bugzilla.gnome.org/show_bug.cgi?id=631236
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 8176c48..9a846f0 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]