cleanup
This commit is contained in:
parent
037e9d6b9c
commit
bd9eeae613
|
@ -29,8 +29,10 @@ APP = i18n.APP
|
|||
gtk.glade.bindtextdomain(APP, i18n.DIR)
|
||||
gtk.glade.textdomain(APP)
|
||||
|
||||
OPT_TYPE = 0
|
||||
OPT_VAL = 1
|
||||
(
|
||||
OPT_TYPE,
|
||||
OPT_VAL
|
||||
) = range(2)
|
||||
|
||||
(
|
||||
C_PREFNAME,
|
||||
|
|
|
@ -481,8 +481,7 @@ class Interface:
|
|||
show_notification = True
|
||||
if show_notification:
|
||||
if msg_type == 'normal': # single message
|
||||
notify.notify(
|
||||
_('New Single Message'), jid, account, msg_type)
|
||||
notify.notify(_('New Single Message'), jid, account, msg_type)
|
||||
else: # chat message
|
||||
notify.notify(_('New Message'), jid, account, msg_type)
|
||||
|
||||
|
|
|
@ -22,7 +22,6 @@ import gtk.glade
|
|||
import gobject
|
||||
import time
|
||||
import calendar
|
||||
import os
|
||||
|
||||
import gtkgui_helpers
|
||||
|
||||
|
|
Loading…
Reference in New Issue