diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-07-11 17:50:45 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-07-11 18:47:00 +0800 |
commit | cdd2887a1d29b6e8a4489980991dc5283e7065d7 (patch) | |
tree | 0c050484dc32dfc18704e9eeb8606b4239d14d3c /src | |
parent | 363703bb5b66dfa167b1f90670fd582678dc2a35 (diff) | |
download | gsoc2013-empathy-cdd2887a1d29b6e8a4489980991dc5283e7065d7.tar.gz gsoc2013-empathy-cdd2887a1d29b6e8a4489980991dc5283e7065d7.tar.zst gsoc2013-empathy-cdd2887a1d29b6e8a4489980991dc5283e7065d7.zip |
new-chatroom-dialog: set default response
We want to activate the dialog when user hits 'Enter' so he joins the room
right away.
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-new-chatroom-dialog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/empathy-new-chatroom-dialog.c b/src/empathy-new-chatroom-dialog.c index 72505472c..f0b6147b1 100644 --- a/src/empathy-new-chatroom-dialog.c +++ b/src/empathy-new-chatroom-dialog.c @@ -779,6 +779,8 @@ empathy_new_chatroom_dialog_init (EmpathyNewChatroomDialog *self) self->priv->button_join = gtk_dialog_add_button (GTK_DIALOG (self), _("Join"), GTK_RESPONSE_OK); + gtk_dialog_set_default_response (GTK_DIALOG (self), GTK_RESPONSE_OK); + gtk_window_set_title (GTK_WINDOW (self), _("Join Room")); gtk_window_set_role (GTK_WINDOW (self), "join_new_chatroom"); |