diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2012-12-27 02:55:53 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2012-12-27 02:55:53 +0400 |
commit | caf56d7ad9f1912e006e21afdfaa418211bd3d90 (patch) | |
tree | 77e7f7039a74cd38f909e00d63ac460e09e90384 /src/gajim.py | |
parent | 7ebde173bc655cb6cffe8d72324404316b731c86 (diff) |
remove session mnagement broken support
Diffstat (limited to 'src/gajim.py')
-rw-r--r-- | src/gajim.py | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/gajim.py b/src/gajim.py index 43b5e6539..825a96e5f 100644 --- a/src/gajim.py +++ b/src/gajim.py @@ -449,32 +449,6 @@ if __name__ == '__main__': log.info("Encodings: d:%s, fs:%s, p:%s", sys.getdefaultencoding(), \ sys.getfilesystemencoding(), locale.getpreferredencoding()) - #if os.name != 'nt': - ## Session Management support - #try: - #import gnome.ui - #raise ImportError - #except ImportError: - #pass - #else: - #def die_cb(dummy): - #gajim.interface.roster.quit_gtkgui_interface() - #gnome.program_init('gajim', gajim.version) - #cli = gnome.ui.master_client() - #cli.connect('die', die_cb) - - #path_to_gajim_script = gtkgui_helpers.get_abspath_for_script( - #'gajim') - - #if path_to_gajim_script: - #argv = [path_to_gajim_script] - #try: - #cli.set_restart_command(argv) - #except TypeError: - ## Fedora systems have a broken gnome-python wrapper for this - ## function. - #cli.set_restart_command(len(argv), argv) - check_paths.check_and_possibly_create_paths() interface = Interface() |