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


Commits:
53af7cbd by mesonium at 2024-11-15T20:31:33+00:00
refactor: Unify style of Reaction Add and Show all buttons

- - - - -


2 changed files:

- gajim/data/style/gajim.css
- gajim/gtk/conversation/reactions_bar.py


Changes:

=====================================
gajim/data/style/gajim.css
=====================================
@@ -853,7 +853,7 @@ .reaction {
 .reaction label {
     font-size: 90%;
 }
-.reaction-add > button {
+.reaction-add-show-all > button {
     border: 1px solid @borders;
     border-radius: 18px;
     padding: 2px;


=====================================
gajim/gtk/conversation/reactions_bar.py
=====================================
@@ -65,7 +65,7 @@ def __init__(self, message_row: MessageRow, contact: 
types.ChatContactT) -> None
 
         
self._add_reaction_button.set_create_popup_func(self._on_emoji_create_popover)
         self._add_reaction_button.add_css_class("flat")
-        self._add_reaction_button.add_css_class("reaction-add")
+        self._add_reaction_button.add_css_class("reaction-add-show-all")
 
         self.append(self._add_reaction_button)
 
@@ -236,7 +236,7 @@ class MoreReactionsButton(Gtk.MenuButton):
     def __init__(self) -> None:
         Gtk.MenuButton.__init__(self, tooltip_text=_("Show all reactions"))
         self.add_css_class("flat")
-        self.add_css_class("reaction")
+        self.add_css_class("reaction-add-show-all")
 
         self._flow_box = Gtk.FlowBox(
             row_spacing=3,



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

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


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to