Fix some random indentation errors and missing imports.

This commit is contained in:
Stephan Erb 2007-11-27 21:14:04 +00:00
parent c92c12893a
commit 16e8369e23
6 changed files with 15 additions and 18 deletions

View file

@ -1333,8 +1333,6 @@ class AccountsWindow:
st = gajim.config.get('mergeaccounts')
self.xml.get_widget('merge_checkbutton').set_active(st)
import os
self.avahi_available = True
try:
import avahi

View file

@ -1898,7 +1898,7 @@ class SingleMessageWindow:
spell1.set_language(lang)
spell2.set_language(lang)
except gobject.GError, msg:
dialogs.AspellDictError(lang)
self.AspellDictError(lang)
self.prepare_widgets_for(self.action)

View file

@ -20,7 +20,7 @@
import gobject
import gtk
from common import xmpp, gajim, dataforms
from common import gajim, dataforms
import gtkgui_helpers
import dialogs

View file

@ -30,7 +30,6 @@ import gtkgui_helpers
from common import gajim
from common import helpers
from common import i18n
class BaseTooltip:
''' Base Tooltip class;