Philipp Hörist pushed to branch master at gajim / gajim
Commits:
3312ca6c by Philipp Hörist at 2019-04-14T18:25:55Z
Add plugin extension point "send-presence"
This lets plugins modify the presence
- - - - -
1 changed file:
- gajim/common/modules/presence.py
Changes:
=====================================
gajim/common/modules/presence.py
=====================================
@@ -389,6 +389,8 @@ class Presence(BaseModule):
if not app.account_is_connected(self._account):
return
presence = self.get_presence(*args, **kwargs)
+ app.plugin_manager.extension_point(
+ 'send-presence', self._account, presence)
self._log.debug('Send presence:\n%s', presence)
self._con.connection.send(presence)
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/3312ca6c29f19a27bc9fca19854b07faa0…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/3312ca6c29f19a27bc9fca19854b07faa0…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
ecdf1526 by Philipp Hörist at 2019-04-14T08:44:08Z
Fix mypy error
- - - - -
1 changed file:
- gajim/common/helpers.py
Changes:
=====================================
gajim/common/helpers.py
=====================================
@@ -25,6 +25,9 @@
# You should have received a copy of the GNU General Public License
# along with Gajim. If not, see <http://www.gnu.org/licenses/>.
+from typing import Any # pylint: disable=unused-import
+from typing import Dict # pylint: disable=unused-import
+
import sys
import re
import os
@@ -1523,8 +1526,9 @@ def save_roster_position(window):
class Singleton(type):
- _instances = {}
+ _instances = {} # type: Dict[Any, Any]
def __call__(cls, *args, **kwargs):
if cls not in cls._instances:
- cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)
+ cls._instances[cls] = super(Singleton, cls).__call__(
+ *args, **kwargs)
return cls._instances[cls]
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/ecdf1526fb904752ac2284ed463c4a0204…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/ecdf1526fb904752ac2284ed463c4a0204…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch gajim_1.1 at gajim / gajim
Commits:
a7466406 by Philipp Hörist at 2019-04-09T20:28:35Z
Connect gpg agent action correctly
Fixes #9660
- - - - -
9e0fb541 by Philipp Hörist at 2019-04-09T20:30:31Z
Update ChangeLog
- - - - -
2 changed files:
- ChangeLog
- gajim/application.py
Changes:
=====================================
ChangeLog
=====================================
@@ -15,6 +15,7 @@ Gajim 1.1.3 (TBA)
* #9622 Fix an error while quitting Gajim
* #9633 Fix an error while sending a file
* #9637 Restore window size correctly on wayland
+ * #9660 GPG Agent setting is ignored
* Improve dark theme colors
* Fix access to GnuPG keys
* Use UUID4 item ids for pubsub posts
=====================================
gajim/application.py
=====================================
@@ -379,6 +379,7 @@ class GajimApplication(Gtk.Application):
act = Gio.SimpleAction.new_stateful(
'agent', None,
GLib.Variant.new_boolean(app.config.get('use_gpg_agent')))
+ act.connect('change-state', app_actions.on_use_pgp_agent)
self.add_action(act)
# General Actions
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/27e2786bccbdfd16183ff1910baf7bfbb…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/27e2786bccbdfd16183ff1910baf7bfbb…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
0dbcac4e by Philipp Hörist at 2019-04-09T20:26:03Z
Connect gpg agent action correctly
Fixes #9660
- - - - -
1 changed file:
- gajim/application.py
Changes:
=====================================
gajim/application.py
=====================================
@@ -391,6 +391,7 @@ class GajimApplication(Gtk.Application):
act = Gio.SimpleAction.new_stateful(
'agent', None,
GLib.Variant.new_boolean(app.config.get('use_gpg_agent')))
+ act.connect('change-state', app_actions.on_use_pgp_agent)
self.add_action(act)
# General Actions
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/0dbcac4efebfa76db9bf2c4c68bf95859d…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/0dbcac4efebfa76db9bf2c4c68bf95859d…
You're receiving this email because of your account on dev.gajim.org.