feat(launcher): add popup css selectors
This commit is contained in:
@@ -420,6 +420,7 @@ impl Module<gtk::Box> for LauncherModule {
|
|||||||
|
|
||||||
let container = gtk::Box::builder()
|
let container = gtk::Box::builder()
|
||||||
.orientation(Orientation::Vertical)
|
.orientation(Orientation::Vertical)
|
||||||
|
.name("popup-launcher")
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
let placeholder = Button::with_label("PLACEHOLDER");
|
let placeholder = Button::with_label("PLACEHOLDER");
|
||||||
@@ -505,6 +506,7 @@ impl Module<gtk::Box> for LauncherModule {
|
|||||||
// add app's buttons
|
// add app's buttons
|
||||||
if let Some(buttons) = buttons.get(&app_id) {
|
if let Some(buttons) = buttons.get(&app_id) {
|
||||||
for button in buttons {
|
for button in buttons {
|
||||||
|
button.style_context().add_class("popup-item");
|
||||||
container.add(button);
|
container.add(button);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user