Check if logo exists
parent
b87c1f722b
commit
5c9b31a64c
|
@ -56,6 +56,7 @@ class ManjaroHello():
|
|||
self.builder.get_object("headerbar").props.subtitle = subtitle
|
||||
|
||||
# Load logo
|
||||
if os.path.isfile(self.logo_path):
|
||||
logo = GdkPixbuf.Pixbuf.new_from_file(self.logo_path)
|
||||
self.window.set_icon(logo)
|
||||
self.builder.get_object("manjaroicon").set_from_pixbuf(logo)
|
||||
|
|
Loading…
Reference in New Issue