don't fail when we pass gtk / gnome session args to Gajim. Fixes #6748
This commit is contained in:
parent
d05140a114
commit
41815f9996
|
@ -116,7 +116,10 @@ def parseOpts():
|
||||||
|
|
||||||
try:
|
try:
|
||||||
shortargs = 'hqvl:p:c:'
|
shortargs = 'hqvl:p:c:'
|
||||||
|
# add gtk/gnome session option as gtk_get_option_group is not wrapped
|
||||||
longargs = 'help quiet verbose loglevel= profile= config_path='
|
longargs = 'help quiet verbose loglevel= profile= config_path='
|
||||||
|
longargs += ' class= name= screen= gtk-module= sync g-fatal-warnings'
|
||||||
|
longargs += ' sm-client-id= sm-client-state-file= sm-disable'
|
||||||
opts = getopt.getopt(sys.argv[1:], shortargs, longargs.split())[0]
|
opts = getopt.getopt(sys.argv[1:], shortargs, longargs.split())[0]
|
||||||
except getopt.error, msg1:
|
except getopt.error, msg1:
|
||||||
print msg1
|
print msg1
|
||||||
|
|
Loading…
Reference in New Issue