Commit 9af4b4f0 authored by Philipp Hörist's avatar Philipp Hörist

Move GroupchatConfig into own module

parent 4e2f00e5
This diff is collapsed.
......@@ -76,6 +76,7 @@ from gajim.gtk.dialogs import ChangeNickDialog
from gajim.gtk.filechoosers import AvatarChooserDialog
from gajim.gtk.add_contact import AddNewContactWindow
from gajim.gtk.tooltips import GCTooltip
from gajim.gtk.groupchat_config import GroupchatConfig
from gajim.gtk.util import get_icon_name
from gajim.gtk.util import get_image_from_icon_name
......@@ -742,7 +743,7 @@ class GroupchatControl(ChatControlBase):
if self.room_jid not in app.interface.instances[self.account][
'gc_config']:
app.interface.instances[self.account]['gc_config'][
self.room_jid] = config.GroupchatConfigWindow(self.account,
self.room_jid] = GroupchatConfig(self.account,
self.room_jid)
def _on_bookmark_room(self, action, param):
......
This diff is collapsed.
......@@ -121,6 +121,7 @@ from gajim.gtk.join_groupchat import JoinGroupchatWindow
from gajim.gtk.filechoosers import FileChooserDialog
from gajim.gtk.emoji_data import emoji_data
from gajim.gtk.emoji_data import emoji_ascii_data
from gajim.gtk.groupchat_config import GroupchatConfig
parser = optparser.OptionsParser(configpaths.get('CONFIG_FILE'))
......@@ -604,7 +605,7 @@ class Interface:
del app.automatic_rooms[account][obj.jid]
elif obj.jid not in self.instances[account]['gc_config']:
self.instances[account]['gc_config'][obj.jid] = \
config.GroupchatConfigWindow(account, obj.jid, obj.dataform)
GroupchatConfig(account, obj.jid, obj.dataform)
def handle_event_gc_affiliation(self, obj):
#('GC_AFFILIATION', account, (room_jid, users_dict))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment