[shprotx] save config when gnome sessions ends. fixes #3618
This commit is contained in:
parent
b7cc062d7d
commit
9d068dc322
|
@ -2914,7 +2914,7 @@ if __name__ == '__main__':
|
||||||
print >> sys.stderr, _('Session Management support not available (missing gnome.ui module)')
|
print >> sys.stderr, _('Session Management support not available (missing gnome.ui module)')
|
||||||
else:
|
else:
|
||||||
def die_cb(cli):
|
def die_cb(cli):
|
||||||
gtk.main_quit()
|
gajim.interface.roster.quit_gtkgui_interface()
|
||||||
gnome.program_init('gajim', gajim.version)
|
gnome.program_init('gajim', gajim.version)
|
||||||
cli = gnome.ui.master_client()
|
cli = gnome.ui.master_client()
|
||||||
cli.connect('die', die_cb)
|
cli.connect('die', die_cb)
|
||||||
|
|
Loading…
Reference in New Issue