diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-05-12 16:56:29 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-05-12 18:05:12 +0800 |
commit | d1bc3524be5909a9287b12b309f2dd2e97fc5778 (patch) | |
tree | 7cdd152fd40087627e7125fc2aeb679dc92c28e4 | |
parent | 0a6ce2b0c136c05fa5395d51517208c041bc392d (diff) | |
download | gsoc2013-empathy-d1bc3524be5909a9287b12b309f2dd2e97fc5778.tar gsoc2013-empathy-d1bc3524be5909a9287b12b309f2dd2e97fc5778.tar.gz gsoc2013-empathy-d1bc3524be5909a9287b12b309f2dd2e97fc5778.tar.bz2 gsoc2013-empathy-d1bc3524be5909a9287b12b309f2dd2e97fc5778.tar.lz gsoc2013-empathy-d1bc3524be5909a9287b12b309f2dd2e97fc5778.tar.xz gsoc2013-empathy-d1bc3524be5909a9287b12b309f2dd2e97fc5778.tar.zst gsoc2013-empathy-d1bc3524be5909a9287b12b309f2dd2e97fc5778.zip |
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 be83f4a29..e5444b6a4 100644 --- a/src/empathy-chat-window.c +++ b/src/empathy-chat-window.c @@ -2432,6 +2432,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); |