mirror of
https://github.com/Snigdha-OS/snigdhaos-blackbox.git
synced 2025-09-21 20:15:02 +02:00
⏳ @eshanized updated the repository!!!
This commit is contained in:
@@ -7,14 +7,14 @@ from string import Template
|
||||
|
||||
base_dir = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
default_file = "%s/defaults/blackbox.yaml"
|
||||
default_file = "%s/defaults/blackbox.yaml" % base_dir
|
||||
|
||||
class Settings(object):
|
||||
def __init__(self, display_versions, display_package_progress):
|
||||
self.display_versions = display_versions
|
||||
self.display_package_progress = display_package_progress
|
||||
|
||||
def write_cofig_file(self):
|
||||
def write_config_file(self):
|
||||
try:
|
||||
content = []
|
||||
with open(fn.config_file, "r", encoding="UTF-8") as f:
|
||||
|
@@ -49,7 +49,7 @@ class Main(Gtk.Window):
|
||||
self.set_icon_from_file(os.path.join(base_dir, "images/blackbox.png"))
|
||||
self.set_default_size(1280, 720) # Basic Con
|
||||
# let's give a focus on search entry * set "ctrl + f"
|
||||
self.connect("key-press-event", self.key_press_event)
|
||||
self.connect("key-press-event", self.on_keypress_event)
|
||||
self.timeout_id = None
|
||||
self.display_versions = False # Bool
|
||||
self.search_activated = False
|
||||
@@ -143,7 +143,7 @@ class Main(Gtk.Window):
|
||||
installed_lst_file = "%s/cache/installed.lst" % base_dir
|
||||
packages_app_start_file = "%s/%s-packages.txt" % (
|
||||
fn.log_dir,
|
||||
fn.datetime.now().strftime("%Y-%m-%d-%H-%M-%S")
|
||||
fn.datetime.now().strftime("%Y-%m-%d-%H-%M-%S"),
|
||||
)
|
||||
if os.path.exists(installed_lst_file):
|
||||
fn.logger.info(
|
||||
|
BIN
usr/share/blackbox/images/splash.png
Normal file
BIN
usr/share/blackbox/images/splash.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.1 KiB |
@@ -34,7 +34,7 @@ class GUI_Worker(Thread):
|
||||
)
|
||||
|
||||
except Exception as e:
|
||||
fn.logger.error("Exception in LOC11: %s" % e)
|
||||
fn.logger.error("Exception on run(): %s" % e)
|
||||
finally:
|
||||
if items is None:
|
||||
fn.logger.debug("Stopping GUI Worker thread")
|
||||
|
Reference in New Issue
Block a user