Skip to content

Commit

Permalink
Fix top margin popover (#70)
Browse files Browse the repository at this point in the history
Using same class as other indicators. 
Fixes: #69
  • Loading branch information
peteruithoven authored and Corentin Noël committed Jun 13, 2019
1 parent 3a522d1 commit 56ae807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Indicator.vala
Expand Up @@ -110,7 +110,7 @@ public class Notifications.Indicator : Wingpanel.Indicator {
stack.add_named (no_notifications_label, NO_NOTIFICATIONS_ID);

not_disturb_switch = new Wingpanel.Widgets.Switch (_("Do Not Disturb"), NotifySettings.get_instance ().do_not_disturb);
not_disturb_switch.get_label ().get_style_context ().add_class ("h4");
not_disturb_switch.get_style_context ().add_class (Granite.STYLE_CLASS_H4_LABEL);
not_disturb_switch.get_switch ().notify["active"].connect (() => {
NotifySettings.get_instance ().do_not_disturb = not_disturb_switch.get_switch ().active;
});
Expand Down

0 comments on commit 56ae807

Please sign in to comment.