From 66b647af690de516de95ef17489a62bd7c5b0937 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Mon, 5 Apr 2010 09:54:01 -0300 Subject: [PATCH] Removed a bunch of annoying logs. --- mitterlib/ui/helpers/gtk_messagegrid.py | 5 +++-- mitterlib/ui/ui_pygtk.py | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mitterlib/ui/helpers/gtk_messagegrid.py b/mitterlib/ui/helpers/gtk_messagegrid.py index 58f48c6..1a4326a 100644 --- a/mitterlib/ui/helpers/gtk_messagegrid.py +++ b/mitterlib/ui/helpers/gtk_messagegrid.py @@ -19,10 +19,12 @@ import gobject import gtk -import logging import pango + +import logging import re import gettext +import webbrowser from cgi import escape as html_escape @@ -243,7 +245,6 @@ class MessageGrid(gtk.ScrolledWindow, gobject.GObject): def _message_popup(self, widget, user_data=None): """Builds the popup with the URLs in the message.""" - _log.debug('Popup') (path, _) = widget.get_cursor() if not path: return True diff --git a/mitterlib/ui/ui_pygtk.py b/mitterlib/ui/ui_pygtk.py index 4d61426..64d5505 100644 --- a/mitterlib/ui/ui_pygtk.py +++ b/mitterlib/ui/ui_pygtk.py @@ -397,7 +397,6 @@ class Interface(object): # ------------------------------------------------------------ def _message_changed(self, widget, data): """Callback from the MesageGrids when the selected message changes.""" - _log.debug('Message changed to: %s', (data.message)) self._delete_action.set_property('sensitive', data.deletable) self._reply_action.set_property('sensitive', data.replyable) self._repost_action.set_property('sensitive', data.repostable)