Add version in subtitle
parent
0d235362a8
commit
c014db236f
|
@ -18,6 +18,7 @@ class ManjaroHello():
|
||||||
# Options
|
# Options
|
||||||
self.app = "manjaro-hello"
|
self.app = "manjaro-hello"
|
||||||
system = "Manjaro Gellivara"
|
system = "Manjaro Gellivara"
|
||||||
|
version = "17"
|
||||||
live_path = "/run/miso/bootmnt/manjaro"
|
live_path = "/run/miso/bootmnt/manjaro"
|
||||||
logo_path = "/usr/share/icons/hicolor/64x64/apps/manjaro.png"
|
logo_path = "/usr/share/icons/hicolor/64x64/apps/manjaro.png"
|
||||||
self.default_locale = "en"
|
self.default_locale = "en"
|
||||||
|
@ -56,7 +57,7 @@ class ManjaroHello():
|
||||||
self.window = self.builder.get_object("window")
|
self.window = self.builder.get_object("window")
|
||||||
|
|
||||||
# Subtitle of headerbar
|
# Subtitle of headerbar
|
||||||
self.builder.get_object("headerbar").props.subtitle = system
|
self.builder.get_object("headerbar").props.subtitle = "{} {}".format(system, version)
|
||||||
|
|
||||||
# Load logo
|
# Load logo
|
||||||
if os.path.isfile(logo_path):
|
if os.path.isfile(logo_path):
|
||||||
|
|
Loading…
Reference in New Issue