From 1dd0a9e52f69e672d9ac313c1da0e201c911e6c2 Mon Sep 17 00:00:00 2001 From: Jake Stanger Date: Fri, 14 Oct 2022 23:49:11 +0100 Subject: [PATCH] feat(launcher): add popup css selectors --- src/modules/launcher/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/launcher/mod.rs b/src/modules/launcher/mod.rs index 906f638..ab76bee 100644 --- a/src/modules/launcher/mod.rs +++ b/src/modules/launcher/mod.rs @@ -420,6 +420,7 @@ impl Module for LauncherModule { let container = gtk::Box::builder() .orientation(Orientation::Vertical) + .name("popup-launcher") .build(); let placeholder = Button::with_label("PLACEHOLDER"); @@ -505,6 +506,7 @@ impl Module for LauncherModule { // add app's buttons if let Some(buttons) = buttons.get(&app_id) { for button in buttons { + button.style_context().add_class("popup-item"); container.add(button); }