Philipp Hörist pushed to branch master at gajim / gajim


Commits:
ebe2c2ba by lovetox at 2020-10-21T21:52:30+02:00
Application: Remove activate handler

Fixes #10318

- - - - -


1 changed file:

- gajim/application.py


Changes:

=====================================
gajim/application.py
=====================================
@@ -159,7 +159,6 @@ def __init__(self):
         self.connect('handle-local-options', self._handle_local_options)
         self.connect('command-line', self._command_line)
         self.connect('startup', self._startup)
-        self.connect('activate', self._activate)
 
         self.interface = None
 
@@ -237,9 +236,6 @@ def _startup(self, _application):
                                        ged.CORE,
                                        self._on_feature_discovered)
 
-    def _activate(self, _application):
-        self.interface.roster.window.present()
-
     def _open_uris(self, uris):
         accounts = list(app.connections.keys())
         if not accounts:
@@ -327,7 +323,6 @@ def _command_line(self, _application, command_line):
             self._open_uris(remaining.unpack())
             return 0
 
-        self.activate()
         return 0
 
     def _handle_local_options(self,



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/ebe2c2ba2612ea12ca352ce7d7b7613dafd1b88f

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/ebe2c2ba2612ea12ca352ce7d7b7613dafd1b88f
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to