gtkgui doesn't exist anymore

This commit is contained in:
Yann Leboulanger 2005-04-18 16:54:49 +00:00
parent 4f60bf7b3b
commit c23e59a0c9
3 changed files with 6 additions and 4 deletions

View File

@ -25,6 +25,7 @@ import common.sleepy
import dialogs
import cell_renderer_image
from gajim import User
from common import gajim
from common import connection
from common import i18n
@ -1456,7 +1457,7 @@ class Service_registration_window:
send registration info to the core'''
for name in self.entries.keys():
self.infos[name] = self.entries[name].get_text()
user1 = gtkgui.User(self.service, self.service, ['Agents'], 'offline', \
user1 = User(self.service, self.service, ['Agents'], 'offline', \
'offline', 'from', '', '', 0, '')
self.plugin.roster.contacts[self.account][self.service] = [user1]
self.plugin.roster.add_user_to_roster(self.service, self.account)

View File

@ -20,6 +20,7 @@
import gtk
import gtk.glade
import gobject
from gajim import User
from common import gajim
from common import i18n
_ = i18n._
@ -762,7 +763,7 @@ class New_message_dialog:
if self.plugin.roster.contacts[self.account].has_key(jid):
user = self.plugin.roster.contacts[self.account][jid][0]
else:
user = gtkgui.User(jid, jid, ['not in the roster'], \
user = User(jid, jid, ['not in the roster'], \
'not in the roster', 'not in the roster', 'none', None, '', 0, '')
self.plugin.roster.contacts[self.account][jid] = [user]
self.plugin.roster.add_user_to_roster(user.jid, self.account)
@ -882,7 +883,7 @@ class Popup_window:
if self.plugin.roster.contacts[self.account].has_key(self.jid):
user = self.plugin.roster.contacts[self.account][self.jid][0]
else:
user = gtkgui.User(self.jid, self.jid, ['not in the roster'], \
user = User(self.jid, self.jid, ['not in the roster'], \
'not in the roster', 'not in the roster', 'none', None, '', 0, '')
self.plugin.roster.contacts[self.account][self.jid] = [user]
self.plugin.roster.add_user_to_roster(user.self.jid, self.account)

View File

@ -32,7 +32,7 @@ import dialogs
import config
import cell_renderer_image
from gtkgui import User
from gajim import User
from common import gajim
from common import i18n