aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-12 16:56:29 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-26 14:20:17 +0800
commit05c4867fe0e03b2aedf5f30e07c713e4d6ac2bb0 (patch)
tree9762bed5f856fa933dec197f30d7b358084d1d77 /src
parentf4e2fc16b56fb94b896014692e5bf0eba402ffe3 (diff)
downloadgsoc2013-empathy-05c4867fe0e03b2aedf5f30e07c713e4d6ac2bb0.tar
gsoc2013-empathy-05c4867fe0e03b2aedf5f30e07c713e4d6ac2bb0.tar.gz
gsoc2013-empathy-05c4867fe0e03b2aedf5f30e07c713e4d6ac2bb0.tar.bz2
gsoc2013-empathy-05c4867fe0e03b2aedf5f30e07c713e4d6ac2bb0.tar.lz
gsoc2013-empathy-05c4867fe0e03b2aedf5f30e07c713e4d6ac2bb0.tar.xz
gsoc2013-empathy-05c4867fe0e03b2aedf5f30e07c713e4d6ac2bb0.tar.zst
gsoc2013-empathy-05c4867fe0e03b2aedf5f30e07c713e4d6ac2bb0.zip
empathy_chat_window_present_chat: always show newly created windows
We just create so we should at least show it.
Diffstat (limited to 'src')
-rw-r--r--src/empathy-chat-window.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 4995dcdc6..149c0b8fb 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -2378,6 +2378,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);