[empathy] 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] empathy_chat_window_present_chat: always show newly created windows
- Date: Thu, 12 May 2011 10:17:54 +0000 (UTC)
commit d1bc3524be5909a9287b12b309f2dd2e97fc5778
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 be83f4a..e5444b6 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]