Browse Source

Removed a bunch of annoying logs.

master
Julio Biason 15 years ago
parent
commit
66b647af69
  1. 5
      mitterlib/ui/helpers/gtk_messagegrid.py
  2. 1
      mitterlib/ui/ui_pygtk.py

5
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

1
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)

Loading…
Cancel
Save