Skip to content

Commit 9577e3a

Browse files
authored
Bubble: Use Granite.Box for action area (#300)
1 parent f471f03 commit 9577e3a

2 files changed

Lines changed: 1 addition & 9 deletions

File tree

‎data/application.css‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,6 @@ button.osd {
7070
min-width: 65px;
7171
}
7272

73-
.notification:dir(ltr) .buttonbox button + button {
74-
margin-left: 6px;
75-
}
76-
77-
.notification:dir(rtl) .buttonbox button + button {
78-
margin-right: 6px;
79-
}
80-
8173
.urgent image {
8274
animation: urgent 1.25s ease-in-out;
8375
}

‎src/Bubble.vala‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public class Notifications.Bubble : AbstractBubble {
146146
attach (body_label, 1, 1);
147147

148148
if (notification.buttons.length > 0) {
149-
var action_area = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0) {
149+
var action_area = new Granite.Box (HORIZONTAL, HALF) {
150150
halign = Gtk.Align.END,
151151
homogeneous = true
152152
};

0 commit comments

Comments
 (0)