From c23e59a0c93559f88501c0baf59d247d35ee25b7 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 18 Apr 2005 16:54:49 +0000 Subject: [PATCH] gtkgui doesn't exist anymore --- src/config.py | 3 ++- src/dialogs.py | 5 +++-- src/roster_window.py | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/config.py b/src/config.py index 30c76b41c..c6d523fba 100644 --- a/src/config.py +++ b/src/config.py @@ -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) diff --git a/src/dialogs.py b/src/dialogs.py index 94cc74f82..dbd6c1f9e 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -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) diff --git a/src/roster_window.py b/src/roster_window.py index 12b8fa0d3..c01af9f34 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -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