Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/gajim.py')
-rwxr-xr-xsrc/gajim.py4
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)