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


Commits:
9347cc56 by wurstsalat at 2021-05-22T09:03:54+02:00
AppSideBar: Add background for icon

- - - - -


2 changed files:

- gajim/data/style/gajim.css
- gajim/gtk/app_side_bar.py


Changes:

=====================================
gajim/data/style/gajim.css
=====================================
@@ -144,6 +144,10 @@
     background: @theme_bg_color;
 }
 
+.app-sidebar-image {
+    background: @unfocused_borders;
+    padding: 4px;
+}
 .app-page-box {
     margin-top: 6px;
 }


=====================================
gajim/gtk/app_side_bar.py
=====================================
@@ -55,8 +55,9 @@ def __init__(self):
         self._unread_label.set_halign(Gtk.Align.END)
         self._unread_label.set_valign(Gtk.Align.START)
 
-        surface = load_icon('org.gajim.Gajim', self, 40)
+        surface = load_icon('org.gajim.Gajim', self, 32)
         image = Gtk.Image.new_from_surface(surface)
+        image.get_style_context().add_class('app-sidebar-image')
 
         selection_bar = Gtk.Box()
         selection_bar.set_size_request(6, -1)



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

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/9347cc56f67856444e1b4c5a30645e61a6ac7ebd
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