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:
@@ -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,
|
||||
|
@@ -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("******************************************************")
|
||||
|
Reference in New Issue
Block a user