gtkgui doesn't exist anymore
This commit is contained in:
parent
4f60bf7b3b
commit
c23e59a0c9
|
@ -25,6 +25,7 @@ import common.sleepy
|
||||||
|
|
||||||
import dialogs
|
import dialogs
|
||||||
import cell_renderer_image
|
import cell_renderer_image
|
||||||
|
from gajim import User
|
||||||
from common import gajim
|
from common import gajim
|
||||||
from common import connection
|
from common import connection
|
||||||
from common import i18n
|
from common import i18n
|
||||||
|
@ -1456,7 +1457,7 @@ class Service_registration_window:
|
||||||
send registration info to the core'''
|
send registration info to the core'''
|
||||||
for name in self.entries.keys():
|
for name in self.entries.keys():
|
||||||
self.infos[name] = self.entries[name].get_text()
|
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, '')
|
'offline', 'from', '', '', 0, '')
|
||||||
self.plugin.roster.contacts[self.account][self.service] = [user1]
|
self.plugin.roster.contacts[self.account][self.service] = [user1]
|
||||||
self.plugin.roster.add_user_to_roster(self.service, self.account)
|
self.plugin.roster.add_user_to_roster(self.service, self.account)
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
import gtk
|
import gtk
|
||||||
import gtk.glade
|
import gtk.glade
|
||||||
import gobject
|
import gobject
|
||||||
|
from gajim import User
|
||||||
from common import gajim
|
from common import gajim
|
||||||
from common import i18n
|
from common import i18n
|
||||||
_ = i18n._
|
_ = i18n._
|
||||||
|
@ -762,7 +763,7 @@ class New_message_dialog:
|
||||||
if self.plugin.roster.contacts[self.account].has_key(jid):
|
if self.plugin.roster.contacts[self.account].has_key(jid):
|
||||||
user = self.plugin.roster.contacts[self.account][jid][0]
|
user = self.plugin.roster.contacts[self.account][jid][0]
|
||||||
else:
|
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, '')
|
'not in the roster', 'not in the roster', 'none', None, '', 0, '')
|
||||||
self.plugin.roster.contacts[self.account][jid] = [user]
|
self.plugin.roster.contacts[self.account][jid] = [user]
|
||||||
self.plugin.roster.add_user_to_roster(user.jid, self.account)
|
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):
|
if self.plugin.roster.contacts[self.account].has_key(self.jid):
|
||||||
user = self.plugin.roster.contacts[self.account][self.jid][0]
|
user = self.plugin.roster.contacts[self.account][self.jid][0]
|
||||||
else:
|
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, '')
|
'not in the roster', 'not in the roster', 'none', None, '', 0, '')
|
||||||
self.plugin.roster.contacts[self.account][self.jid] = [user]
|
self.plugin.roster.contacts[self.account][self.jid] = [user]
|
||||||
self.plugin.roster.add_user_to_roster(user.self.jid, self.account)
|
self.plugin.roster.add_user_to_roster(user.self.jid, self.account)
|
||||||
|
|
|
@ -32,7 +32,7 @@ import dialogs
|
||||||
import config
|
import config
|
||||||
import cell_renderer_image
|
import cell_renderer_image
|
||||||
|
|
||||||
from gtkgui import User
|
from gajim import User
|
||||||
from common import gajim
|
from common import gajim
|
||||||
from common import i18n
|
from common import i18n
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue