update ++

This commit is contained in:
Eshan Roy (Eshanized)
2024-02-23 13:14:54 +05:30
parent 8eb6bab390
commit 081466d5e2
4 changed files with 10 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -21,6 +21,7 @@ from gi.repository import Gtk, GdkPixbuf, GLib, Gdk
base_dir = os.path.abspath(os.path.join(os.path.dirname(__file__))) base_dir = os.path.abspath(os.path.join(os.path.dirname(__file__)))
REMOTE_SERVER = "www.google.com" REMOTE_SERVER = "www.google.com"
css = """ css = """
box#stack_box{ box#stack_box{
padding: 10px 10px 10px 10px; padding: 10px 10px 10px 10px;

View File

@@ -49,7 +49,7 @@ def GUI(self, Gtk, GdkPixbuf):
headerbar.pack_start( headerbar.pack_start(
Gtk.Image().new_from_pixbuf( Gtk.Image().new_from_pixbuf(
GdkPixbuf.Pixbuf().new_from_file_at_size( 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 # ADD PAGES TO STACK
# ====================================================================== # ======================================================================
if debug is True: # if debug is True:
stack.add_titled(vbox_install_stack, "Installation", "Installation") # stack.add_titled(vbox_install_stack, "Installation", "Installation")
else: # else:
stack.add_titled(vbox_install_stack, "Welcome", "Welcome") # 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_info_stack, "Information", "Information")
stack.add_titled(vbox_credits_stack, "Developers", "Developers") # stack.add_titled(vbox_credits_stack, "Developers", "Developers")
autostart = eval(self.load_settings()) autostart = eval(self.load_settings())
@@ -421,7 +422,7 @@ def GUI(self, Gtk, GdkPixbuf):
# ====================================================================== # ======================================================================
pixbuf = GdkPixbuf.Pixbuf().new_from_file_at_size( 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) image = Gtk.Image().new_from_pixbuf(pixbuf)