[empathy/gnome-2-34] empathy_chat_window_present_chat: always show newly created windows
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/gnome-2-34] empathy_chat_window_present_chat: always show newly created windows
- Date: Thu, 26 May 2011 06:20:34 +0000 (UTC)
commit 05c4867fe0e03b2aedf5f30e07c713e4d6ac2bb0
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Thu May 12 10:56:29 2011 +0200
empathy_chat_window_present_chat: always show newly created windows
We just create so we should at least show it.
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 4995dcd..149c0b8 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]