[empathy] fix comments
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] fix comments
- Date: Mon, 7 Dec 2009 17:00:08 +0000 (UTC)
commit 208e7858319b6b10c592b615fd5ef1559cf44b5b
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Dec 7 16:35:18 2009 +0000
fix comments
src/empathy-chat-window.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 2ceb1e8..903f18f 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -1875,11 +1875,11 @@ empathy_chat_window_get_default (gboolean room)
if (empathy_window_get_is_visible (GTK_WINDOW (dialog))) {
nb_rooms = empathy_chat_window_get_nb_rooms (chat_window);
- /* We add a new room only if the window has at least one room */
+ /* Skip the window if there aren't any rooms in it */
if (room && nb_rooms == 0)
continue;
- /* We add a new 1-1 chat only if the window has at least one 1-1 chat */
+ /* Skip the window if there aren't any 1-1 chats in it */
if (!room && nb_rooms > 0)
continue;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]