do not deprecatewarning if gp 2.12
This commit is contained in:
parent
d8eaad6ed7
commit
f07d4eba1a
1 changed files with 4 additions and 1 deletions
|
@ -1270,7 +1270,10 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
if path_to_gajim_script:
|
if path_to_gajim_script:
|
||||||
argv = [path_to_gajim_script]
|
argv = [path_to_gajim_script]
|
||||||
cli.set_restart_command(len(argv), argv)
|
if gnome.gnome_python_version >= (2, 12, 0):
|
||||||
|
cli.set_restart_command(argv)
|
||||||
|
else:
|
||||||
|
cli.set_restart_command(len(argv), argv)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import gconf
|
import gconf
|
||||||
|
|
Loading…
Add table
Reference in a new issue