diff options
Diffstat (limited to 'src/gajim.py')
-rwxr-xr-x | src/gajim.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gajim.py b/src/gajim.py index 45bcec6d2..3cd328dce 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -352,8 +352,10 @@ if pid_alive(): pritext = _('Gajim is already running') sectext = _('Another instance of Gajim seems to be running\nRun anyway?') dialog = dialogs.YesNoDialog(pritext, sectext) - if dialog.get_response() != gtk.RESPONSE_YES: + dialog.popup() + if dialog.tun() != gtk.RESPONSE_YES: sys.exit(3) + dialog.destroy() # run anyway, delete pid and useless global vars if os.path.exists(pid_filename): os.remove(pid_filename) |