diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-05-12 10:56:29 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-05-12 12:19:12 +0200 |
commit | 6d87a8e79f33fbd5adcc8df2646823d5acfd63e6 (patch) | |
tree | fb10a39e20cdc9834fb3ad8366030d3be9f2e39b | |
parent | a58c4edf9f5bc021c8bacc714057a6c9ae0dd8bf (diff) | |
download | empathy-6d87a8e79f33fbd5adcc8df2646823d5acfd63e6.tar.gz |
empathy_chat_window_present_chat: always show newly created windows
We just create so we should at least show it.
-rw-r--r-- | src/empathy-chat-window.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index 96d5ee80e..c203be9e7 100644 --- a/src/empathy-chat-window.c +++ b/src/empathy-chat-window.c @@ -2386,6 +2386,11 @@ empathy_chat_window_present_chat (EmpathyChat *chat, window = empathy_chat_window_get_default (empathy_chat_is_room (chat)); if (!window) { window = empathy_chat_window_new (); + + /* we want to display the newly created window even if we don't present + * it */ + priv = GET_PRIV (window); + gtk_widget_show (priv->dialog); } empathy_chat_window_add_chat (window, chat); |