changeset 3fbadfe6bb17 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=3fbadfe6bb17 description: fix call to set_restart_command for gnome session handling
diffstat:
src/gajim.py | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 50980325f73d -r 3fbadfe6bb17 src/gajim.py --- a/src/gajim.py Fri Oct 29 11:41:38 2010 +0200 +++ b/src/gajim.py Fri Oct 29 11:51:24 2010 +0200 @@ -413,11 +413,16 @@ cli.connect('die', die_cb)
path_to_gajim_script = gtkgui_helpers.get_abspath_for_script( - 'gajim') + 'gajim')
if path_to_gajim_script: argv = [path_to_gajim_script] - cli.set_restart_command(len(argv), argv) + 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()