Misc Fix #18

Merged
tr1xem merged 14 commits from macos into macos 2025-08-03 12:58:42 +00:00
Showing only changes of commit 347bc8703c - Show all commits
+1 -4
View File
@@ -211,13 +211,10 @@ class NotificationWidget(Box):
def get_pixbuf(self, icon_path, width, height):
if icon_path.startswith("file://") and os.path.exists(icon_path):
icon_path = icon_path[7:]
else:
icon_path = get_relative_path("../../config/assets/icons/notification.png")
logger.warning(f"Invalid icon path: {icon_path}")
if not os.path.exists(icon_path):
logger.warning(f"Icon path does not exist: {icon_path}")
return None
icon_path = get_relative_path("../../config/assets/icons/notification.png")
try:
pixbuf = GdkPixbuf.Pixbuf.new_from_file(icon_path)