From 582b3c4db8923a432762455320b1fcd4e359bf6c Mon Sep 17 00:00:00 2001 From: Ksaper Date: Tue, 21 Feb 2023 04:55:47 +0200 Subject: [PATCH] Adding more props to the app table that this is obslete now, it's better to just use the app.prop_name syntax --- widget/app_launcher/init.lua | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/widget/app_launcher/init.lua b/widget/app_launcher/init.lua index e4c9bca..c81eaac 100644 --- a/widget/app_launcher/init.lua +++ b/widget/app_launcher/init.lua @@ -153,23 +153,6 @@ local function app_widget(self, app) end) else widget = self.app_template(app) - - local icon = widget:get_children_by_id("icon_role")[1] - if icon then - icon.image = app.icon - end - local name = widget:get_children_by_id("name_role")[1] - if name then - name.text = app.name - end - local generic_name = widget:get_children_by_id("generic_name_role")[1] - if generic_name then - generic_name.text = app.generic_name - end - local command = widget:get_children_by_id("command_role")[1] - if command then - command.text = app.executable - end end widget:connect_signal("button::press", function(app, _, __, button)