Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
74779a8c by wurstsalat at 2022-10-18T22:35:35+02:00
fix: Preview: Don’t fail hard when parsing fragments

- - - - -
0c5adaf5 by wurstsalat at 2022-10-18T22:37:27+02:00
cfix: Plugins: Align plugin config button vertically

- - - - -


2 changed files:

- gajim/common/preview.py
- gajim/data/gui/plugins.ui


Changes:

=====================================
gajim/common/preview.py
=====================================
@@ -89,7 +89,10 @@ def __init__(self,
         self.key: Optional[bytes] = None
         self.iv: Optional[bytes] = None
         if self.is_aes_encrypted and urlparts is not None:
-            self.key, self.iv = parse_fragment(urlparts.fragment)
+            try:
+                self.key, self.iv = parse_fragment(urlparts.fragment)
+            except ValueError as err:
+                log.error('Parsing fragment for AES decryption failed:', err)
 
     @property
     def is_geo_uri(self) -> bool:


=====================================
gajim/data/gui/plugins.ui
=====================================
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.38.2 -->
+<!-- Generated with glade 3.40.0 -->
 <interface>
-  <requires lib="gtk+" version="3.20"/>
+  <requires lib="gtk+" version="3.24"/>
   <object class="GtkListStore" id="liststore">
     <columns>
       <!-- column-name icon -->
@@ -278,6 +278,7 @@
                 <property name="can-focus">True</property>
                 <property name="receives-default">True</property>
                 <property name="tooltip-text" translatable="yes">Plugin 
Settings</property>
+                <property name="valign">center</property>
                 <signal name="clicked" handler="_on_configure_plugin" 
swapped="no"/>
                 <child>
                   <object class="GtkImage">



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/7c5ad2dca54d0fec747c575426f3a1b03d817256...0c5adaf5e388f4c060340a916e5bd526ba94578c

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/7c5ad2dca54d0fec747c575426f3a1b03d817256...0c5adaf5e388f4c060340a916e5bd526ba94578c
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