fix call to set_restart_command for gnome session handling
This commit is contained in:
parent
1bbb42a9ae
commit
7e4166c288
1 changed files with 7 additions and 2 deletions
|
@ -417,6 +417,11 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
if path_to_gajim_script:
|
if path_to_gajim_script:
|
||||||
argv = [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)
|
cli.set_restart_command(len(argv), argv)
|
||||||
|
|
||||||
check_paths.check_and_possibly_create_paths()
|
check_paths.check_and_possibly_create_paths()
|
||||||
|
|
Loading…
Add table
Reference in a new issue