💥 ags(runner): show result placeholders when runner opens
This commit is contained in:
@@ -106,6 +106,12 @@ export namespace Runner {
|
|||||||
expand: true
|
expand: true
|
||||||
} as Gtk.ListBox.ConstructorProps);
|
} as Gtk.ListBox.ConstructorProps);
|
||||||
|
|
||||||
|
if(placeholder) {
|
||||||
|
const placeholderWidgets = placeholder();
|
||||||
|
placeholderWidgets.map(widget =>
|
||||||
|
resultsList.insert(widget, -1));
|
||||||
|
}
|
||||||
|
|
||||||
// Init plugins
|
// Init plugins
|
||||||
plugins.forEach(plugin => plugin.init && plugin.init());
|
plugins.forEach(plugin => plugin.init && plugin.init());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user