diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2005-04-18 20:54:49 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2005-04-18 20:54:49 +0400 |
commit | c23e59a0c93559f88501c0baf59d247d35ee25b7 (patch) | |
tree | 2d2a66f2f1cec24188cb33eba762325bf9659efa | |
parent | 4f60bf7b3b013b146b5a9d3c7c07faca64d5a561 (diff) |
gtkgui doesn't exist anymore
-rw-r--r-- | src/config.py | 3 | ||||
-rw-r--r-- | src/dialogs.py | 5 | ||||
-rw-r--r-- | 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 |