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/gui_interface.py')
-rw-r--r--src/gui_interface.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui_interface.py b/src/gui_interface.py
index e47655f05..4da0968f1 100644
--- a/src/gui_interface.py
+++ b/src/gui_interface.py
@@ -1213,6 +1213,8 @@ class Interface:
file_props = None
# get the file_props of our session
file_props = FilesProp.getFileProp(obj.conn.name, obj.sid)
+ if not file_props:
+ return
ft.set_status(file_props, 'stop')
file_props.error = -4 # is it the right error code?
ft.show_stopped(obj.jid, file_props, 'Peer cancelled ' +
@@ -2772,10 +2774,6 @@ class Interface:
if gajim.config.get('verbose'):
logging_helpers.set_verbose()
- # Is Gajim default app?
- if os.name != 'nt' and gajim.config.get('check_if_gajim_is_default'):
- gtkgui_helpers.possibly_set_gajim_as_xmpp_handler()
-
for account in gajim.config.get_per('accounts'):
if gajim.config.get_per('accounts', account, 'is_zeroconf'):
gajim.ZEROCONF_ACC_NAME = account