we now save hpaned position when we close a gc control
This commit is contained in:
parent
cce6c97e7c
commit
f5c9d527e6
|
@ -1022,6 +1022,8 @@ class GroupchatControl(ChatControlBase):
|
||||||
if self.room_jid in gajim.contacts.get_gc_list(self.account):
|
if self.room_jid in gajim.contacts.get_gc_list(self.account):
|
||||||
gajim.contacts.remove_room(self.account, self.room_jid)
|
gajim.contacts.remove_room(self.account, self.room_jid)
|
||||||
del gajim.gc_connected[self.account][self.room_jid]
|
del gajim.gc_connected[self.account][self.room_jid]
|
||||||
|
# Save hpaned position
|
||||||
|
gajim.config.set('gc-hpaned-position', self.hpaned_position)
|
||||||
|
|
||||||
def allow_shutdown(self):
|
def allow_shutdown(self):
|
||||||
retval = True
|
retval = True
|
||||||
|
|
Loading…
Reference in New Issue