From 4202e2549bf11c6c813b0b3eadbc7750012da952 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 6 May 2005 19:53:26 +0000 Subject: [PATCH] we can launch Gajim even if we have no connection (this will have to be launched in a thread) --- src/common/check_for_new_version.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common/check_for_new_version.py b/src/common/check_for_new_version.py index f7ca75730..d9a418662 100644 --- a/src/common/check_for_new_version.py +++ b/src/common/check_for_new_version.py @@ -33,7 +33,10 @@ GTKGUI_GLADE='gtkgui.glade' class Check_for_new_version_dialog: def __init__(self, plugin): self.plugin = plugin - self.check_for_new_version() + try: + self.check_for_new_version() + except: + pass def parse_glade(self): xml = gtk.glade.XML(GTKGUI_GLADE, 'new_version_available_dialog', APP)