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


Commits:
3d10db13 by wurstsalat at 2021-12-06T22:05:20+01:00
AccountSidebar: Try to separate accounts from workspaces

- - - - -


3 changed files:

- gajim/data/gui/main.ui
- gajim/data/style/gajim.css
- gajim/gtk/account_side_bar.py


Changes:

=====================================
gajim/data/gui/main.ui
=====================================
@@ -22,7 +22,7 @@
             <property name="can-focus">False</property>
             <property name="valign">end</property>
             <property name="orientation">vertical</property>
-            <property name="spacing">12</property>
+            <property name="spacing">6</property>
             <child>
               <object class="GtkSeparator">
                 <property name="visible">True</property>


=====================================
gajim/data/style/gajim.css
=====================================
@@ -280,9 +280,11 @@ .account-sidebar-item .account-identifier-bar {
        padding: 0 3px;
     margin: 3px 0;
 }
+.account-box {
+    background-color: mix(@theme_base_color, @theme_fg_color, 0.15);
+}
 .account-box > separator {
     background-color: darker(@theme_bg_color);
-    margin: 0px 12px 0px 12px;
 }
 
 /* Account Page */


=====================================
gajim/gtk/account_side_bar.py
=====================================
@@ -121,7 +121,7 @@ def _on_avatar_update(self, _contact, _signal_name):
     def _update_image(self) -> None:
         surface = self._contact.get_avatar(AvatarSize.ACCOUNT_SIDE_BAR,
                                            self.get_scale_factor(),
-                                           style='round-corners')
+                                           style='circle')
         self.set_from_surface(surface)
 
     def _on_destroy(self, *args):



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

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


_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to