@eshanized updated the repository!!!

This commit is contained in:
Eshan Roy (Eshanized)
2024-04-28 22:22:40 +05:30
parent 9e4f8a6f33
commit 3ae0a16f38
2 changed files with 5 additions and 5 deletions

View File

@@ -19,11 +19,11 @@ from Settings import Settings
from ui.MessageDialog import MessageDialog
from distro import id # DOCS : https://github.com/python-distro/distro
import Functions as fn
# import Functions as fn
import gi # DOCS : https://askubuntu.com/questions/80448/what-would-cause-the-gi-module-to-be-missing-from-python
from gi.repository import GLib, Gtk
gi.require_version("Gtk" "3.0")
gi.require_version("Gtk", "3.0")
# NOTE: Base Directory
base_dir = os.path.dirname(os.path.realpath(__file__))
@@ -489,11 +489,11 @@ def refresh_ui(
switch.set_sensitive(True)
switch.set_state(False)
switch.set_active(False)
proc = fn.get_pacman_process()
proc = get_pacman_process()
message_dialog = MessageDialog(
"Warning",
"Unable to proceed, pacman lock found!",
"Pacman is unable to lock the database inside: %s" % fn.pacman_lockfile,
"Pacman is unable to lock the database inside: %s" % pacman_lockfile,
"Pacman is processing: %s" % proc,
"warning",
False,

View File

@@ -51,7 +51,7 @@ class Main(Gtk.Window):
# let's give a focus on search entry * set "ctrl + f"
self.connect("key-press-event", self.key_press_event)
self.timeout_id = None
self.display_version = False # Bool
self.display_versions = False # Bool
self.search_activated = False
self.display_package_progress = False
print("******************************************************")