aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-22 18:12:09 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-22 18:12:09 +0800
commit4fad374b36f1b750397ce29ccd313464052f6f59 (patch)
treebf657f1f5d49fcec39dd221f670fba876f060323
parent3011ba3c2dd559c63c1ec659ccf494d7e85fe8f2 (diff)
downloadgsoc2013-empathy-4fad374b36f1b750397ce29ccd313464052f6f59.tar
gsoc2013-empathy-4fad374b36f1b750397ce29ccd313464052f6f59.tar.gz
gsoc2013-empathy-4fad374b36f1b750397ce29ccd313464052f6f59.tar.bz2
gsoc2013-empathy-4fad374b36f1b750397ce29ccd313464052f6f59.tar.lz
gsoc2013-empathy-4fad374b36f1b750397ce29ccd313464052f6f59.tar.xz
gsoc2013-empathy-4fad374b36f1b750397ce29ccd313464052f6f59.tar.zst
gsoc2013-empathy-4fad374b36f1b750397ce29ccd313464052f6f59.zip
chat-window: remove some DEBUG calls
They don't really give us anything useful and flood logs.
-rw-r--r--src/empathy-chat-window.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 282c40e24..c9e04b554 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);