mirror of
https://github.com/Snigdha-OS/snigdhaos-welcome.git
synced 2025-09-20 14:14:55 +02:00
update ++
This commit is contained in:
BIN
usr/share/snigdhaos-welcome/images/snigdhaos-welcome-small.png
Normal file
BIN
usr/share/snigdhaos-welcome/images/snigdhaos-welcome-small.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
@@ -21,6 +21,7 @@ from gi.repository import Gtk, GdkPixbuf, GLib, Gdk
|
||||
|
||||
base_dir = os.path.abspath(os.path.join(os.path.dirname(__file__)))
|
||||
REMOTE_SERVER = "www.google.com"
|
||||
|
||||
css = """
|
||||
box#stack_box{
|
||||
padding: 10px 10px 10px 10px;
|
||||
|
@@ -49,7 +49,7 @@ def GUI(self, Gtk, GdkPixbuf):
|
||||
headerbar.pack_start(
|
||||
Gtk.Image().new_from_pixbuf(
|
||||
GdkPixbuf.Pixbuf().new_from_file_at_size(
|
||||
os.path.join(base_dir, "images/snigdhaos-icon.png"), 16, 16
|
||||
os.path.join(base_dir, "images/snigdhaos-welcome-small.png"), 16, 16
|
||||
)
|
||||
)
|
||||
)
|
||||
@@ -386,13 +386,14 @@ def GUI(self, Gtk, GdkPixbuf):
|
||||
# ADD PAGES TO STACK
|
||||
# ======================================================================
|
||||
|
||||
if debug is True:
|
||||
stack.add_titled(vbox_install_stack, "Installation", "Installation")
|
||||
else:
|
||||
stack.add_titled(vbox_install_stack, "Welcome", "Welcome")
|
||||
# if debug is True:
|
||||
# stack.add_titled(vbox_install_stack, "Installation", "Installation")
|
||||
# else:
|
||||
# stack.add_titled(vbox_install_stack, "Welcome", "Welcome")
|
||||
stack.add_titled(vbox_install_stack, "Install Snigdha OS", "Install Snigdha OS")
|
||||
|
||||
stack.add_titled(vbox_info_stack, "Information", "Information")
|
||||
stack.add_titled(vbox_credits_stack, "Developers", "Developers")
|
||||
# stack.add_titled(vbox_info_stack, "Information", "Information")
|
||||
# stack.add_titled(vbox_credits_stack, "Developers", "Developers")
|
||||
|
||||
autostart = eval(self.load_settings())
|
||||
|
||||
@@ -421,7 +422,7 @@ def GUI(self, Gtk, GdkPixbuf):
|
||||
# ======================================================================
|
||||
|
||||
pixbuf = GdkPixbuf.Pixbuf().new_from_file_at_size(
|
||||
os.path.join(base_dir, "images/snigdhaos-icon.png"), 164, 164
|
||||
os.path.join(base_dir, "images/snigdhaos-welcome.png"), 300, 300
|
||||
)
|
||||
image = Gtk.Image().new_from_pixbuf(pixbuf)
|
||||
|
||||
|
Binary file not shown.
Reference in New Issue
Block a user