mirror of
https://github.com/Snigdha-OS/snigdhaos-welcome.git
synced 2025-09-21 06:24:56 +02:00
bump lines
This commit is contained in:
@@ -94,29 +94,18 @@ class Main(Gtk.Window):
|
|||||||
self.style_provider,
|
self.style_provider,
|
||||||
Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION,
|
Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION,
|
||||||
)
|
)
|
||||||
|
|
||||||
# a queue to store package install progress
|
# a queue to store package install progress
|
||||||
self.pkg_queue = Queue()
|
self.pkg_queue = Queue()
|
||||||
|
|
||||||
# default pacman lockfile
|
# default pacman lockfile
|
||||||
self.pacman_lockfile = "/var/lib/pacman/db.lck"
|
self.pacman_lockfile = "/var/lib/pacman/db.lck"
|
||||||
|
|
||||||
# get the username of the user running the welcome app
|
# get the username of the user running the welcome app
|
||||||
self.sudo_username = os.getlogin()
|
self.sudo_username = os.getlogin()
|
||||||
|
|
||||||
self.calamares_polkit = "/usr/bin/calamares_polkit"
|
self.calamares_polkit = "/usr/bin/calamares_polkit"
|
||||||
|
|
||||||
self.session = None
|
self.session = None
|
||||||
|
|
||||||
self.get_session()
|
self.get_session()
|
||||||
|
|
||||||
GUI.GUI(self, Gtk, GdkPixbuf)
|
GUI.GUI(self, Gtk, GdkPixbuf)
|
||||||
|
|
||||||
if GUI.username == GUI.user:
|
if GUI.username == GUI.user:
|
||||||
threading.Thread(
|
threading.Thread(target=self.internet_notifier, args=(), daemon=True).start()
|
||||||
target=self.internet_notifier, args=(), daemon=True
|
|
||||||
).start()
|
|
||||||
|
|
||||||
# returns the login session
|
# returns the login session
|
||||||
def get_session(self):
|
def get_session(self):
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user