[empathy/gnome-3-0] 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-3-0] empathy_chat_window_present_chat: always show newly created windows
- Date: Thu, 12 May 2011 10:19:24 +0000 (UTC)
commit 6d87a8e79f33fbd5adcc8df2646823d5acfd63e6
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 96d5ee8..c203be9 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]