mirror of
https://github.com/Snigdha-OS/snigdhaos-blackbox.git
synced 2025-09-21 20:15:02 +02:00
create space for neces.
This commit is contained in:

committed by
GitHub

parent
f56f3c9010
commit
7613c4210f
@@ -297,7 +297,7 @@ def start_subprocess(
|
|||||||
line = (
|
line = (
|
||||||
"Pacman Processing: %s Package: %s \n\n Command: %s\n\n" % (action, pkg.name, " ".join(cmd))
|
"Pacman Processing: %s Package: %s \n\n Command: %s\n\n" % (action, pkg.name, " ".join(cmd))
|
||||||
)
|
)
|
||||||
# DOC: https://docs.gtk.org/glib/const.PRIORITY_DEFAULT.html
|
# DOCS : https://docs.gtk.org/glib/const.PRIORITY_DEFAULT.html
|
||||||
GLib.idle_add(
|
GLib.idle_add(
|
||||||
update_progress_textview,
|
update_progress_textview,
|
||||||
self,
|
self,
|
||||||
@@ -635,7 +635,7 @@ def update_progress_textview(
|
|||||||
and self.in_progress is True
|
and self.in_progress is True
|
||||||
):
|
):
|
||||||
buffer = progress_dialog.package_progress_textview.get_buffer()
|
buffer = progress_dialog.package_progress_textview.get_buffer()
|
||||||
# Docs: https://docs.python.org/3/library/asyncio-protocol.html#buffered-streaming-protocols
|
# DOCS : https://docs.python.org/3/library/asyncio-protocol.html#buffered-streaming-protocols
|
||||||
if len(line) > 0 or buffer is None:
|
if len(line) > 0 or buffer is None:
|
||||||
buffer.insert(buffer.get_end_iter(), "%s" % line, len("%s" % line))
|
buffer.insert(buffer.get_end_iter(), "%s" % line, len("%s" % line))
|
||||||
text_mark_end = buffer.create_mark("\nend", buffer.get_end_iter(), False)
|
text_mark_end = buffer.create_mark("\nend", buffer.get_end_iter(), False)
|
||||||
|
Reference in New Issue
Block a user