[empathy] chat-window: remove some DEBUG calls
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] chat-window: remove some DEBUG calls
- Date: Mon, 22 Mar 2010 10:25:49 +0000 (UTC)
commit 4fad374b36f1b750397ce29ccd313464052f6f59
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Mar 22 11:12:09 2010 +0100
chat-window: remove some DEBUG calls
They don't really give us anything useful and flood logs.
src/empathy-chat-window.c | 15 ---------------
1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 282c40e..c9e04b5 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -341,8 +341,6 @@ chat_window_menu_context_update (EmpathyChatWindowPriv *priv,
last_page = (page_num == (num_pages - 1));
is_connected = empathy_chat_get_tp_chat (priv->current_chat) != NULL;
- DEBUG ("Update window : Menu Contexts (Tabs & Conv)");
-
gtk_action_set_sensitive (priv->menu_tabs_next, TRUE);
gtk_action_set_sensitive (priv->menu_tabs_prev, TRUE);
gtk_action_set_sensitive (priv->menu_tabs_detach, num_pages > 1);
@@ -387,8 +385,6 @@ chat_window_contact_menu_update (EmpathyChatWindowPriv *priv,
"/chats_menubar/menu_contact");
orig_submenu = gtk_menu_item_get_submenu (GTK_MENU_ITEM (menu));
- DEBUG ("Update window : Contact Menu");
-
if (orig_submenu == NULL || !GTK_WIDGET_VISIBLE (orig_submenu)) {
submenu = empathy_chat_get_contact_menu (priv->current_chat);
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu), submenu);
@@ -487,8 +483,6 @@ chat_window_title_update (EmpathyChatWindowPriv *priv)
{
gchar *name;
- DEBUG ("Update window : Title");
-
name = get_window_title_name (priv);
gtk_window_set_title (GTK_WINDOW (priv->dialog), name);
g_free (name);
@@ -504,8 +498,6 @@ chat_window_icon_update (EmpathyChatWindowPriv *priv)
n_chats = g_list_length (priv->chats);
- DEBUG ("Update window : Icon");
-
/* Update window icon */
if (priv->chats_new_msg) {
gtk_window_set_icon_name (GTK_WINDOW (priv->dialog),
@@ -537,8 +529,6 @@ chat_window_close_button_update (EmpathyChatWindowPriv *priv,
GtkWidget *chat_close_button;
gint i;
- DEBUG ("Update window : Close Button");
-
if (num_pages == 1) {
chat = gtk_notebook_get_nth_page (GTK_NOTEBOOK (priv->notebook), 0);
chat_close_button = g_object_get_data (G_OBJECT (chat),
@@ -562,8 +552,6 @@ chat_window_update (EmpathyChatWindow *window)
num_pages = gtk_notebook_get_n_pages (GTK_NOTEBOOK (priv->notebook));
- DEBUG ("Update window");
-
/* Update Tab menu */
chat_window_menu_context_update (priv,
num_pages);
@@ -1192,7 +1180,6 @@ chat_window_set_urgency_hint (EmpathyChatWindow *window,
priv = GET_PRIV (window);
- DEBUG ("Turning %s urgency hint", urgent ? "on" : "off");
gtk_window_set_urgency_hint (GTK_WINDOW (priv->dialog), urgent);
}
@@ -1530,8 +1517,6 @@ chat_window_focus_in_event_cb (GtkWidget *widget,
{
EmpathyChatWindowPriv *priv;
- DEBUG ("Focus in event, updating title");
-
priv = GET_PRIV (window);
priv->chats_new_msg = g_list_remove (priv->chats_new_msg, priv->current_chat);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]