mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
naughty.legacy: Do not update the text if the notification has no widget
If the notification has been created without a legacy widget, it would try to update some widgets that have never been created.
This commit is contained in:
parent
7adbbd3f7c
commit
d99f8461ef
1 changed files with 0 additions and 4 deletions
|
@ -241,10 +241,6 @@ local function set_escaped_text(self)
|
|||
if self.size_info then update_size(self) end
|
||||
end
|
||||
|
||||
naughty.connect_signal("property::text" ,set_escaped_text)
|
||||
naughty.connect_signal("property::title",set_escaped_text)
|
||||
|
||||
|
||||
local function cleanup(self, _ --[[reason]], keep_visible)
|
||||
-- It is not a legacy notification
|
||||
if not self.box then return end
|
||||
|
|
Loading…
Reference in a new issue