This commit is contained in:
Nikos Kouremenos 2005-12-01 18:08:10 +00:00
parent 037e9d6b9c
commit bd9eeae613
3 changed files with 5 additions and 5 deletions

View file

@ -29,8 +29,10 @@ APP = i18n.APP
gtk.glade.bindtextdomain(APP, i18n.DIR) gtk.glade.bindtextdomain(APP, i18n.DIR)
gtk.glade.textdomain(APP) gtk.glade.textdomain(APP)
OPT_TYPE = 0 (
OPT_VAL = 1 OPT_TYPE,
OPT_VAL
) = range(2)
( (
C_PREFNAME, C_PREFNAME,

View file

@ -481,8 +481,7 @@ class Interface:
show_notification = True show_notification = True
if show_notification: if show_notification:
if msg_type == 'normal': # single message if msg_type == 'normal': # single message
notify.notify( notify.notify(_('New Single Message'), jid, account, msg_type)
_('New Single Message'), jid, account, msg_type)
else: # chat message else: # chat message
notify.notify(_('New Message'), jid, account, msg_type) notify.notify(_('New Message'), jid, account, msg_type)

View file

@ -22,7 +22,6 @@ import gtk.glade
import gobject import gobject
import time import time
import calendar import calendar
import os
import gtkgui_helpers import gtkgui_helpers