Kaydet (Commit) 65a167dd authored tarafından Your Name's avatar Your Name

headerbar

üst 4353aee5
...@@ -257,6 +257,8 @@ class InstallerWindow: ...@@ -257,6 +257,8 @@ class InstallerWindow:
def fullscreen(self): def fullscreen(self):
self.window.fullscreen() self.window.fullscreen()
self.window.set_titlebar(None)
self.builder.get_object("vbox1").pack_start(self.builder.get_object("headerbar"),False,False,0)
def i18n(self): def i18n(self):
......
#!/usr/bin/python3 #!/usr/bin/python3
import os import os
os.environ['GTK_THEME']="Adwaita-dark" os.environ['GTK_THEME']="Adwaita"
if not os.path.isfile("installer.py"): if not os.path.isfile("installer.py"):
os.chdir("/usr/lib/live-installer") os.chdir("/usr/lib/live-installer")
...@@ -26,7 +26,7 @@ def gtk_style(): ...@@ -26,7 +26,7 @@ def gtk_style():
# main entry # main entry
if __name__ == "__main__": if __name__ == "__main__":
gtk_style() #gtk_style()
if ("--expert-mode" in sys.argv): if ("--expert-mode" in sys.argv):
win = InstallerWindow(expert_mode=True) win = InstallerWindow(expert_mode=True)
else: else:
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment